Creating XML Provisioning Scripts
File Structure
Provisioning Guide for Cisco SPA100 and SPA200 Series Analog Telephone Adapters
•
The ATA recognizes arbitrary, configurable aliases for a limited number of
parameter names.
•
If the Open format profile contains multiple occurrences of the same
parameter tag, the last such occurrence overrides any earlier ones. To avoid
inadvertently overriding configuration values for a parameter, it is
recommended that at most one instance of a parameter be specified in any
one profile.
Formatting
These properties apply to the formatting of the strings:
•
Comments are allowed by using standard XML syntax.
<!-- My comment is typed here -->
•
Leading and trailing white space is allowed for readability and will be
removed from the parameter value.
•
New lines within a value are converted to spaces.
•
An XML header of the form <? . . . ?> is allowed, but is ignored by the ATA.
•
To enter special characters, use basic XML character escapes, as shown in
the following table.
Special Character
& (ampersand)
< (less than)
> (greater than)
' (apostrophe)
" (double quote)
In the following example, character escapes are entered to represent the
greater than and less than symbols that are required in a dial plan rule. This
example defines an information hotline dial plan that sets the Dial_Plan[1]
parameter equal to (S0 <:18005551212>).
<flat-profile>
<Dial_Plan_1_>
(S0 <:18005551212>)
</Dial_Plan_1_>
XML Escape Sequence
&
<
>
'
"
2
19