Skip to content

Instantly share code, notes, and snippets.

@libryder
Created September 21, 2012 03:08
Show Gist options
  • Save libryder/3759528 to your computer and use it in GitHub Desktop.
Save libryder/3759528 to your computer and use it in GitHub Desktop.
Manually play audio to receiver in Adhearsion
def dial_out(did, callerid, options)
dial_string = "SIP/#{TRUNK}/#{did},,#{options}"
execute "Dial", dial_string
end
#...
dial_out(did, callerid, 'A(whisper)')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment