Last active
August 29, 2015 14:01
-
-
Save radralph/545bbffafb629e6fa9bb to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| # answer | |
| log $currentCall.sessionId + "-------------" | |
| say "this is a test" | |
| say "joining session" | |
| conference "1137", { | |
| :conferenceId => "1137", | |
| :playTones => true, | |
| :allowSignals => "exit", | |
| :onSignal => lambda { |event| | |
| say "yes this is working"} | |
| } | |
| log $currentCall.sessionId + "-------------" | |
| # current_session = $currentCall.sessionId | |
| # command1 = Thread.new do | |
| # conference "1137", { | |
| # :conferenceId => "1137", | |
| # :playTones => true, | |
| # :allowSignals => "play_warning", | |
| # :onSignal => lambda { |event| | |
| # say "myhost.com/warning.mp3"} | |
| # } | |
| # end | |
| # command.join |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment