Skip to content

Instantly share code, notes, and snippets.

@getadeo
Forked from radralph/ofw_poc2.rb
Last active May 15, 2018 03:16
Show Gist options
  • Save getadeo/86fd16d33e58245103cc7379c5760795 to your computer and use it in GitHub Desktop.
Save getadeo/86fd16d33e58245103cc7379c5760795 to your computer and use it in GitHub Desktop.
call $caller, {:callerID => 'sip:21588260@sip.tropo.net'}
say "Hello"
say "Please wait while we connect your call..."
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