| CallXML 2.0 Development Guide | Home | Frameset Home |
| termdigits | Data Type: (123456789*#|ABCD) | Default: none - attribute is optional |
| This attribute holds the list of touch-tone digits which can terminate the current caller action. Note that for each termdigit specified, there should be an <ontermdigit> handler in the code to catch the event. Allowable values are any one of "012356789*#", the ordinary DTMF (Touch-Tone) keypad possibilities, plus the special keypad tones found on some telephones "ABCD". | ||
| value | Data Type: (m|s|ms) | Default: none - attribute is required |
| The time string format is: <numeric value>[<optional qualifier>] | nolimit The string begins with a required numeric value. The valid qualifiers are:
Example: "45m 33s 117ms" Note that if no qualifier is specified, an "s" qualifier is assumed. No combinations of qualifiers are allowed. If there is a need to specify an unlimited amount of time, simply use the key word "nolimit". | ||
| onerror type="document" | Document was unable to be fetched for all the reasons web servers are unavailable |
| onerror type="telephony" | Unable to issue a telephony event such as <call> or <playaudio> or <ftp> |
| ontermdigit | Used for catching and handling term digit events as they occur in the call flow. See the ontermdigit element description for further details. |
| onhangup | This event occurs when a session determines that one side of the call has hung up. A typical use for this handler is to execute any necessary clean-up code. See the onhangup element description for further details. |
| <?xml version="1.0" encoding="UTF-8"?> <callxml version="2.0"> <block> <text> Preparing to demonstrate the wait element. You will be able to press the star key at any time to stop waiting. </text> <wait value="nolimit" termdigits="*"/> <ontermdigit value="*"> <text> The wait is now over, my little love bucket. You are free to go about your bidness. </text> </ontermdigit> </block> </callxml> |
| ANNOTATIONS: EXISTING POSTS |
zscgeek
|
|
| One thing to note is that a value attribute of "0s" also is treated as nolimit meaning CallXML will wait for ever. |
| login |