Example 2 - Linksys SPA9000 Administrator's Manual

Cisco systems ip pbx system administrator guide
Hide thumbs Also See for Linksys SPA9000:
Table of Contents

Advertisement

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 Answer Delay> = "8" (in seconds)
<AA Dial Plan 1> = "(1|7xxx)"
<AA Dial Plan 2> = "(*|<1:5001>|<2:5002>|<0:5000>)"
<AA Script> =
"<aa>
<form id="DIR" type="menu">
</form>
<form id="SALES" type="menu">
</form>
</aa>"
Linksys SPA9000 Administrator Guide
5-18
AA Script—Example 2
<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>
<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>
(valid office extension: 4 digits and starts with 7)
Chapter 5
Configuring the LVS Auto-Attendant
Document Version 3.01

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Spa9000

Table of Contents