Skip to content

Instantly share code, notes, and snippets.

@jonmarkgo
Forked from wiscoDude/gist:3636075
Created September 5, 2012 14:06
Show Gist options
  • Save jonmarkgo/3637140 to your computer and use it in GitHub Desktop.
Save jonmarkgo/3637140 to your computer and use it in GitHub Desktop.
TwiML.rb
# build up a response
response = Twilio::TwiML::Response.new do |r|
r.Say 'Hello, please wait.', :voice => 'woman'
r.Dial :callerId => '+14159992222' do |d|
d.Conference 'myfirstconference', :waitUrl => 'http://mysite.com/waiturl.mp3'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment