Linksys SPA2102-AU Provisioning Manual page 29

Provisioning guide
Table of Contents

Advertisement

Chapter 2
Creating Provisioning Scripts
</Profile_Rule>
</flat-profile>
The profiles in
additional information and comments, which are ignored by the SPA. Also, in
<flat-profile> element is encapsulating within the <top-level> element. Such extra encapsulation is
allowed, and the parameters within it are still recognized.
Example 2-2
<?xml version='1.0'?>
<top-level>
<!-- Unrecognized element 'generator' is ignored by SPA -->
<generator> Telco Profile Compiler v.1.2
</generator>
<!-- Unrecognized flat-profile attribute 'device' is ignored by SPA -->
<flat-profile device="Linksys">
<!-- three parameters are specified by this profile -->
<Resync_On_Reset> Yes
</Resync_On_Reset>
<Resync_Periodic> 7200
</Resync_Periodic>
<Profile_Rule>
</Profile_Rule>
</flat-profile>
</top-level>
The SPA recognizes and translates basic XML character escapes, including escapes for those shown in
Table
Table 2-1
Special Character
& (ampersand)
< (less than)
> (greater than)
' (apostrophe)
" (double quote)
Numeric character escapes, using decimal and hexadecimal values (s.a.
translated.
The SPA firmware does not support the full Unicode character set, but only the ASCII subset.
Note
The profile in
dial plan, which sets the Dial_Plan[1] parameter equal to ( S0 <:18005551212> ).
Example 2-3
<flat-profile>
<Dial_Plan_1_>
( S0 &lt;:18005551212&gt; )
</Dial_Plan_1_>
Version 3.0
Example 2-1
and
XML Profile with Comments
tftp://prov.telco.com:6900/Linksys/config/spa2102.cfg
2-1.
Example
2-3illustrates character escapes. This example defines an information hotline
Dial Plan Example
Example 2-2
are functionally equivalent.
XML Escape Sequence
&amp;
&lt;
&gt;
&apos;
&quot;
Open Format Configuration File
Example 2-2
contains
Example 2-2
and
), are also
&#40;
&#x2e;
Linksys SPA Provisioning Guide
the
2-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents