![background image](http://html.mh-extra.com/html/linksys/linksys-spa9000/linksys-spa9000_administration-manual_1923831112.webp)
Linksys Voice System Administration Guide
110
Writing an Auto Attendant Script
Configuring the LVS Auto-Attendant
Example 2: Routing Calls with a Departmental Sub-Menu
In this example, the business wants to expedite the handling of sales calls. A custom prompt is
used to give special instructions about calls for the sales department. A sub-menu for the sales
group is provided to direct calls to the correct person within that department.
Script Elements
Purpose
<aa>
This script is for the AA.
<form id=”DIR” type=”menu”>
This form is given the name “DIR” for Directory.
It is a menu type of form
, which accepts DTMF
inputs.
<audio src=”prompt1” bargein=”T”/>
The Auto Attendant plays custom Prompt1.
Welcome to ABC company. For Sales, enter 1.
If you know your party’s extension, you may
enter it now.
Callers are allowed to begin dialing (
bargein
) at
any time.
<dialplan src=”dp1”/>
Dial plan 1 is used to evaluate the inputs within
this form.
<noinput timeout=”10” repeat=”T”/>
If there is no input after 10 seconds, the Auto
Attendant repeats the menu prompt.
<nomatch>
<audio src=”prompt3” bargein=”T”/>
</nomatch>
If the user input does not match the specified
dial plan, the Auto Attendant plays Prompt3:
Not a valid extension, please try again.
<match>
<case input=”1”>
<goto next=”SALES”/>
</case>
<default>
<audio src=”prompt2”/>
<xfer name=”ext” target=”$input”/>
</default>
</match>
If the user input matches the dial plan, the
response depends upon the user entry:
•
If the user pressed 1, the Auto
Attendant processes the input by using
the Sales sub-menu (below in this
script).
•
If the user pressed any keys other than
1, t
he Auto Attendant plays Prompt 2 (
Your
call has been transferred.
) The call is
transferred to the extension number that
the user entered.
</form>
The “DIR” form is closed.
<form id=”SALES” type=”menu”>
This part of the script contains the “SALES” sub-
form.
<audio src=”prompt5”/>
The Auto Attendant plays custom Prompt 5:
Press 1 for price info, press 2 for return, press 0
for sales representative, press * to exit
.