Last active
May 5, 2017 03:11
-
-
Save radralph/e9ad457fd4e15f68b529fa49655d7e45 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
say "Please wait while we transfer your call. Press star to cancel the transfer." | |
transfer ["sip:9175744034@sip.tropo.net"], { | |
:callerID => 'sip:917111@sip.tropo.net', | |
:playvalue => "http://www.phono.com/audio/holdmusic.mp3", | |
:terminator => "*", | |
:onTimeout => lambda { |event| | |
say "Sorry, but nobody answered"} | |
} | |
say "goodbye" | |
hangup | |
# call $caller, {:callerID => 'sip:917111@sip.tropo.net'} | |
# conference "1337", { | |
# :terminator => "*", | |
# :playTones => true, | |
# :onChoice => lambda { |event| | |
# say("Disconnecting") | |
# }} | |
# say "goodbye" | |
# hangup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment