Aa xml script examples, Example 1-aa default xml script, Example 1—aa default xml script – Cisco Linksys SPA9000 User Manual

Page 141

Advertising
background image

5-17

Linksys SPA9000 Administrator Guide

Document Version 3.01

Chapter 5 Configuring the LVS Auto-Attendant

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 1—AA Default XML Script, page 5-17

Example 2, page 5-18

Example 3—AA Script with Two Treatments, page 5-19

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 no-input timer is turned on. If the caller
does not input any digits in 10 seconds, the no-input dialog is executed.

AA repeats 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 no-match dialog is executed. It plays
prompt3 and waits for user DTMF input. Otherwise, the <match> dialog is executed. AA plays prompt2
and the user is transferred to the target extension.

Example 5-1

AA Script—Example 1

<AA Answer Delay> = “4” (in seconds)

<AA Dial Plan 1> = “(<1:5001>|<2:5002>|500x|xxxxx.)”

<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>”

Advertising