Node type dialog, Menu type dialog, Dialplan statement – Cisco Linksys SPA9000 User Manual

Page 138

Advertising
background image

5-14

Linksys SPA9000 Administrator Guide

Document Version 3.01

Chapter 5 Configuring the LVS Auto-Attendant

XML Scripting for the Auto-Attendant

Note

The maximum compiled size of an AA script is 2048 bytes. Any script longer than this is truncated and
generates an XML script error. Note that when the script is compiled it can grow in length, so this error
can occur even if the script is considerably smaller than 2048 bytes.

Node Type Dialog

The format of the node type dialog is as follows:

<form id=”form-id” type=”node”>

<!--audio instruction (optional) -->

<!--action instruction pair (mandatory) -->

</form>

In the node dialog, AA executes the audio instruction first if it is not empty. If there are multiple audio
instructions, AA plays each prompt one by one. When finished playing, AA executes an action
instruction. The action instruction cannot be empty.

Menu Type Dialog

In the menu type, user input can be processed. It is processed according to the dial plan statement
associated with the menu and defines what action the Auto-Attendant executes when the user input
matches the dial plan. The format of the menu type is as follows:

The menu dialog can have five kinds of instructions. The order of the instructions does not affect AA
behavior. Only the order of audio instructions affects the audio playing order.

<form id=”form-id” type=”menu”>

<!--audio instruction (optional) -->

<!-- dialplan instruction (mandatory)-->

<!-- noinput instruction (optional) -->

<!-- nomatch instruction (optional) -->

<!-- match instruction (mandatory) -->

</form>

Dialplan Statement

The following dialplan statement determines the dialplan ID that the current menu dialog follows.

<dialplan src = “dp1”/>

The user input is passed by the dial plan first, then the passed result is fed into the menu instruction if
the input matches a dial rule. Otherwise, AA executes the nomatch instruction, unless that instruction is
empty.

Advertising