Created
October 23, 2009 03:17
-
-
Save levicole/216610 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
| render :xml => Twilio::Verb.new { |v| | |
| v.gather(:numDigits => 1, :timeout => 5, :action => recording_script_notification_url(@notification)) do | |
| v.play @notification.voicemessage_url | |
| v.say "If you would like to record again, press one, otherwise stay on the line" | |
| end | |
| v.say "Your notification is being sent" | |
| v.redirect send_notification_notification_url(@notification) | |
| }.response |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment