Chapter 5 Configuring the LVS
AA XML Script Examples
The user can use the variable “$input” in the target attribute of the <xfer> action. The value of this variable means that the input value that is already passed by the dialplan. AA does no translation, but directly transfers the call to the target.
For example:
<default>
<audio src=”prompt2”/>
<xfer name=”ext” target=”$input”/> </default>
Currently, only outbound DTMF (INFO/AVT) can be recognized by AA.
AA XML Script Examples
This section provides examples of XML scripts for configuring AA. It includes the following topics:
•Example
•Example 2, page
•Example
Example 1—AA Default XML Script
In Example 1, when there is an incoming call, AA picks up the call in four seconds. AA then plays prompt1. The caller can interrupt the prompt at any time. This means that at the same time, AA is ready to accept DTMF inputs. After the prompt is finished playing, the
AArepeats prompt1 and waits for user DTMF inputs. If the caller inputs digits within 10 seconds, but it does not match the dial plan defined in <AA Dial plan 1>, the
Example 5-1 AA Script—Example 1
<AA Answer Delay> = “4” (in seconds)
<AA Dial Plan 1> = “(<1:5001><2:5002>500xxxxxx.)” <AA Script> =
“<aa>
<form id=”dir” type=”menu”>
<audio src=”prompt1” bargein=”T”/> <noinput timeout=”10” repeat=”T”/>
<nomatch repeat=”F”><audio src=”prompt3” bargein=”T”/></nomatch> <dialplan src=”dp1”/>
<match>
<default>
<audio src=”prompt2”/>
<xfer name=”ext” target=”$input”/> </default>
</match>
</form>
</aa>”
|
| Linksys SPA9000 Administrator Guide |
|
| |
|
|
| |||
| Document Version 3.01 |
|
|
| |
|
|
|
|