![background image](http://html.mh-extra.com/html/linksys/linksys-spa9000/linksys-spa9000_administration-manual_1923831116.webp)
Linksys Voice System Administration Guide
114
Writing an Auto Attendant Script
Configuring the LVS Auto-Attendant
Instruction
Description
Syntax and Example(s)
dialplan
This determines the dialplan id of the current
menu <form>. The Auto Attendant
processes the user input according to the
dial plan and then is dispatched to the
match, nomatch, or noinput instruction.
<dialplan src = “dp1”/>
“dp1” matches the AA Dial Plan 1
parameter found on the
Voice - SIP
screen
of the administration web server.
“dp2” matches the AA Dial Plan 2
parameter found on the
Voice - SIP
screen
of the administration web server.
noinput
When specified, the Auto Attendant
executes the specified audio and action
instructions if the user does not input any
digits in <timeout> seconds. If the repeat
attribute is set to “T”, then the Auto
Attendant plays the menu prompt after
playing the prompt specified in the
<noinput> audio instruction and ignore the
action instruction; otherwise, the Auto
Attendant executes the action instruction.
By default, “repeat” is “F”.
<noinput timeout=”5” repeat=”T”>
<!--audio instruction (optional) -->
<!--action instruction (optional) -->
</noinput>
nomatch
When specified, the nomatch instruction
runs when the user input digits do not
match anything in the dial plan. The Auto
Attendant executes the specified audio and
action instructions. If the repeat attribute is
set to “T”, the Auto Attendant plays the menu
prompt after playing the no input prompt
and ignore the action instruction; otherwise,
the Auto Attendant executes the action
instruction. By default, “repeat” is “F”.
<nomatch repeat=”F”>
<!--audio instruction (optional) -->
<!--action instruction (optional) -->
</nomatch>
match
Upon a match between the user input and
the dial plan, the Auto Attendant transfers to
the corresponding <case> and execute the
corresponding audio and/or action
instructions. If the Auto Attendant cannot
find a match in any of the <case>
statements, it performs the <default> case.
<match >
<case input= “x”/>
<!--audio instruction (optional) -->
<!--action instruction (optional) -->
</case>
<case input= “#”/>
<!—audio instruction (optional) -->
<!--action instruction (optional) -->
</case>
<default>
<!—audio instruction (optional) -->
<!--action instruction (optional) -->
</default>
</match>