![background image](http://html.mh-extra.com/html/linksys/linksys-spa9000/linksys-spa9000_administration-manual_1923831115.webp)
Linksys Voice System Administration Guide
113
Writing an Auto Attendant Script
Configuring the LVS Auto-Attendant
Nomatch Instruction
The <nomatch> dialog can be used only in a menu dialog and is optional. This dialog is
activated when DMTF digits do not match the dial plan. When the
nomatch
condition is met,
Auto Attendant executes the
audio
and
action
instructions in the <nomatch> dialog. If the
repeat
attribute is set to
T
, the Auto Attendant plays the menu prompt after playing the no
input prompt and ignores the
action
instruction. If the
repeat
attribute is set to
F
, the Auto
Attendant executes the
action
instruction. The default value of the
repeat
attribute is
F
.
Either the
audio
or
action
instruction can be empty. If both are empty, the Auto Attendant
does nothing and ignores all buffered digits.
Menu Matched Instruction for Touch Tone (DMTP) Input
The <match> dialog can be used only in the menu dialog and it is a mandatory field. When the
DTMF digits match the dialplan, the <match> dialog is activated. The Auto Attendant compares
each <case> dialog and executes the corresponding audio/action instructions. If the Auto
Attendant cannot find a match in any <case> dialogs, it performs the <default> dialog audio/
action instruction if <default> is defined; otherwise, the Auto Attendant ends.
You can specify exact numbers, (for example 1, 23, 1234 and so on), in the
input
attribute of the
<case> dialog, or you can use the dial pattern (for example, “50xx”, “408xxx5061”, “xx.”). The user
can also combine several dial patterns together and use “|” to separate them (for example,
“50xx|408xxx5061|1234”).
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. The Auto Attendant
does no translation, but directly transfers the call to the target.
EXAMPLE
<default>
<audio src=”prompt2”/>
<xfer name=”ext” target=”$input”/>
</default>
Outband DTMF (INFO/AVT) is recognized by Auto Attendant. To enable the recognition of
inband DTMF, go to the
Voice > SIP
page,
Auto Attendant Parameters
section, and set
AA Decode
Inband DTMF
to
yes
.
Auto Attendant XML Instructions Set
The complete set of XML instructions for Auto Attendant Scripts are described in the following
table: