What is Simple Menu
Simple Menu will just play a greeting, and wait for the caller to press one or more digits on their keypad. Based on what was pressed, call flow is directed to a new URL (or Twimlet).
How to Use Simple Menu
Direct your call flow to this url:
Parameters to Send
The following parameters may/must be sent:
|Attribute Name||Allowed Values||Required?|
|Message||The URL of a media file to <Play>, or a string to <Say> to greet the caller.||Y|
|Options[n]||The URL to which call flow should be directed, if n is pressed. See examples below.||N|
Say a greeting, and direct the caller to http://foo.com if they press 1
Say a greeting, and direct the caller to http://foo.com if they press 1, or http://bar.com if they press 2.
Say a greeting, and direct the caller to http://bob.com if they press 101, http://ann.com if they press 102 and http://operator.com if they press 0. (Where bob.com, ann.com and operator.com would be Twilio applications as well.)
Try It Out!
Using our Twimlet Generator, you can build up a Twimlet URL right here:
Twimlets are open sourced, you are free to download, modify and run the code on your own server. View the Source.
Note: Uses the Open Source Twilio PHP library available on GitHub.