Created
November 5, 2008 01:19
-
-
Save vangberg/22282 to your computer and use it in GitHub Desktop.
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
incoming do | |
play "hello-world" | |
end | |
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
events.asterisk.call_hangup.each do |call| | |
ahn_log "It got hung up!" | |
end |
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
~/w/sample_event> ahn - | |
/Users/h/.gems/gems/theatre-0.8.0/lib/theatre/namespace_manager.rb:75:in `search_for_namespace': Could not find "/asterisk/call_hangup" in the namespace registry. Did you register it yet? (Theatre::NamespaceNotFound) | |
from /Users/h/.gems/gems/theatre-0.8.0/lib/theatre/namespace_manager.rb:88:in `register_callback_at_namespace' | |
from /Users/h/.gems/gems/theatre-0.8.0/lib/theatre/dsl/callback_definition_loader.rb:54:in `callback_registered' | |
from /Users/h/.gems/gems/theatre-0.8.0/lib/theatre/dsl/callback_definition_loader.rb:83:in `to_proc' | |
from /Users/h/.gems/gems/theatre-0.8.0/lib/theatre/dsl/callback_definition_loader.rb:77:in `call' | |
from /Users/h/.gems/gems/theatre-0.8.0/lib/theatre/dsl/callback_definition_loader.rb:77:in `each' | |
from /Users/h/work/sample_event/events.rb:1:in `load_events_file' | |
from /Users/h/.gems/gems/theatre-0.8.0/lib/theatre.rb:80:in `load_events_file' | |
from /Users/h/src/adhearsion/lib/adhearsion/initializer.rb:255:in `init_events' | |
from /Users/h/src/adhearsion/lib/adhearsion/initializer.rb:254:in `each' | |
from /Users/h/src/adhearsion/lib/adhearsion/initializer.rb:254:in `init_events' | |
from /Users/h/src/adhearsion/lib/adhearsion/initializer.rb:111:in `start' | |
from /Users/h/src/adhearsion/lib/adhearsion/initializer.rb:70:in `start' | |
from /Users/h/src/adhearsion/lib/adhearsion/cli.rb:70:in `start' | |
from /Users/h/src/adhearsion/lib/adhearsion/cli.rb:18:in `send' | |
from /Users/h/src/adhearsion/lib/adhearsion/cli.rb:18:in `execute!' | |
from /Users/h/src/adhearsion/bin/ahn:28 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment