Catch
Definition
The goto attribute within this tag will execute when the defined value occurs. This goto executes immediately, interrupting the currently running script.
Value
The contents within the tag watch for the defined catch scenario.
Attributes
Attribute | Required | Values | Description |
---|---|---|---|
name | N | any text | A unique name for the tag |
type | Y | hangup digit | Defines type of user input |
value | Y | 0-9 or * | Required when type="digit" |
goto | Y | any node | The predefined node to jump to |
Examples
The following example shows a catch of the digit 0, automatically sending the call to the operator:
Please enter "one" if you agree. Enter zero at any time to reach an operator.
1
2135551212
The following occurs when the call is hung up. It takes certain information and stashes it in the Call Details report before the IVR terminates:
Please enter "one" for strongly agree
or "nine" for strongly disagree.
${call.lastinput}
${call.callerid}
Comments
0 comments
Please sign in to leave a comment.