| CallXML 2.0 Development Guide | Home | Frameset Home |
| next | Data Type: (navigation identifier) | Default: none - attribute is optional |
| The 'next' attribute sets the URL the CallXML platform will go to when the container ends. | ||
| value | Data Type: (123456789*#|ABCD) | Default: none - attribute is required |
This attribute defines the value to compare to the digit the user pressed to trigger an <ontermdigit> event. The value given in an <ontermdigit> element will be compared against the digit pressed, and if identical, any CallXML contained in the <ontermdigit> element will be executed. Allowable values are any one of "012356789*#", the ordinary DTMF (Touch-Tone) keypad possibilities, plus the special keypad tones found on some telephones "ABCD". Do note that not specifying the 'value' attribute will allow you to catch and handle *any* keypress from the caller. | ||
| <?xml version="1.0" encoding="UTF-8"?>
<callxml version="2.0"> <block repeat="3"> <text termdigits="123"> Choose a number between one and three. </text> <ontermdigit value="1"> <text> Hey, you pressed one. </text> </ontermdigit> <ontermdigit value="2"> <text> Whoopie, you pressed two. </text> </ontermdigit> <ontermdigit value="3"> <text> You must have pressed three. Its like magic. </text> </ontermdigit> </block> </callxml> |
| ANNOTATIONS: EXISTING POSTS |
| login |