Example 2 – Cisco Linksys SPA9000 User Manual

Page 142

Advertising
background image

5-18

Linksys SPA9000 Administrator Guide

Document Version 3.01

Chapter 5 Configuring the LVS Auto-Attendant

AA XML Script Examples

Example 2

In Example 2, when there is an incoming call to AA, AA picks up the call in eight seconds. AA then
plays prompt1. The caller can interrupt the prompt at any time. If the caller inputs digits within 10
seconds, but it does not match the dial plan defined in <AA Dial plan 1>, the nomatch dialog is executed.
It plays prompt3 and wait for DTMF input. Otherwise, the <match> dialog is executed.

If the DTMF input is “1”, AA goes to the “Sales” form. Otherwise, AA plays prompt2 and the user is
transferred to the target extension.

In the “Sales” form, AA plays prompt5 and waits for DTMF inputs. <AA Dial plan 2> is used as the
form 2 menu dialplan. When the user enters a star (*), prompt 4 is played, AA exits, and the call ends.
When the user enters 0, 1, or 2, the user is transferred to extension 5000, 5001, or 5002, respectively.

Example 5-2

AA Script—Example 2

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

<AA Dial Plan 1> = “(1|7xxx)” (valid office extension: 4 digits and starts with 7)

<AA Dial Plan 2> = “(*|<1:5001>|<2:5002>|<0:5000>)”

<AA Script> =

“<aa>

<form id=”DIR” type=”menu”>

<audio src=”prompt1” bargein=”T”/>

<dialplan src=”dp1”/>

<noinput timeout=”10” repeat=”T”/>

<nomatch><audio src=”prompt3” bargein=”T”/></nomatch>

<match>

<case usr_input=”1”>

<goto next=”SALES”/>

</case>

<default>

<audio src=”prompt2”/>

<xfer name=”ext” target=”$input”/>

</default>

</match>

</form>

<form id=”SALES” type=”menu”>

<audio src=”prompt5”/>

<dialplan src=”dp2”/>

<noinput timeout=”10” repeat=”T”/>

<nomatch><audio src=”prompt3” bargein=”T”/></nomatch>

<match>

<case input=”*”>

<audio src=”prompt4”/>

<exit/>

</case>

<default>

<audio src=”prompt2”/>

<xfer name=”ext” target=”$input”/>

</default>

</match>

</form>

</aa>”

Advertising