Cisco Systems SPA9000 IP Phone User Manual


 
5-13
Linksys SPA9000 Administrator Guide
Document Version 3.01
Chapter 5 Configuring the LVS Auto-Attendant
XML Scripting for the Auto-Attendant
XML Scripting for the Auto-Attendant
The SPA9000 AA allows users to define the AA instructions using XML script. This section includes
the following topics:
Overview, page 5-13
XML Scripting Grammar, page 5-13
AA Instructions , page 5-15
AA XML Script Examples, page 5-17
Auto-Attendant XML Instructions Set, page 5-22
Example 1—AA Default XML Script, page 5-17
Overview
AA XML scripting has two kinds of dialogs: node type and menu type. The dialog type is specified in
the type attribute of <form> element. The node type dialog is used to execute actions. It cannot recognize
user input. Users must specify an action in node form. The menu type dialog accepts DTMF inputs. AA
recognizes them and performs the corresponding actions.
AA is always in a specific dialog type when it is activated and can be transferred to the other dialog type
with or without user input.
A dialplan statement and a menu instruction must be included in a menu type dialog. The dialplan
statement specifies the dial rule that the menu need to follow. The menu instruction defines what action
the AA needs to perform when user input hits one of the dial rules.
Many parameters can be changed to customize the Auto-Attendant. One of the most important parameters is
the script, or set of instructions, that the Auto-Attendant executes when it is running.
Note AA is disabled if it encounters an XML script error. If the value of the <Current AA> parameter on the
Info page is Inactive, it may indicate an XML script error. To determine if the AA script is working, test
your script with a SPA900 Series phone. To hear the current AA script, use the Directory softkey and
select Corporate Directory > AA.
XML Scripting Grammar
SPA9000 lets you use XML scripting grammar to define the Auto-Attendant instructions. You have a
choice of three scripts, which are stored in the AA script 1-3 parameters on the Voice - SIP screen of the
administration web server. The instructions must be defined or encapsulated in a <form> structure. You
may have multiple <form> structures within a script that the Auto-Attendant can transfer to, based on
user input.
The XML scripting grammar supports two types of <form> structures, node and menu. The main
difference between the two types is that within the node type, user input cannot be processed—only
actions may be specified.