This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TODO: MAE! please refactor into smaller independent functions (= | |
@gen.coroutine | |
def new_sip_account(self, struct): | |
''' | |
New sip account for asterisk real-time | |
''' | |
# let's still support asterisk 11 for now! | |
message = 'nothing to see here' | |
try: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
erlang/treehouse [ make clean ] 5:08 PM | |
erlang/treehouse [ make all ] 5:08 PM | |
erlc -pa ~/work/structures/treehouse/deps/luerl/ebin -o ./ebin src/treehouse_app.erl | |
erlc -pa ~/work/structures/treehouse/deps/luerl/ebin -o ./ebin src/sim_master.erl | |
src/sim_master.erl:57: Warning: erlang:now/0: Deprecated BIF. See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information. | |
src/sim_master.erl:57: Warning: random:seed/1: the 'random' module is deprecated; use the 'rand' module instead | |
src/sim_master.erl:93: Warning: random:uniform/1: the 'random' module is deprecated; use the 'rand' module instead | |
src/sim_master.erl:94: Warning: random:uniform/1: the 'random' module is deprecated; use the 'rand' module instead | |
src/sim_master.erl:97: Warning: random:uniform/0: the 'random' module is deprecated; use the 'rand' module instead | |
src/sim_master.erl:98: Warning: random:uniform/0: the 'rando |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PROJECT = treehouse | |
PROJECT_DESCRIPTION = Spontaneously generate imps and spawn your resources. | |
PROJECT_VERSION = 0.1.0 | |
DEPS = cowboy chumak luerl lager econfig uuid jiffy hackney | |
dep_cowboy_commit = master | |
DEP_PLUGINS = cowboy | |
include erlang.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) 2014 Robert Virding | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |