Cisco SPA2102-AU Provisioning Guide - Page 30
Using Numbers and Spaces in an XML Profile, example Dial_Plan[1] and Dial_Plan[2]. - dial plan
View all Cisco SPA2102-AU manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 30 highlights
Open Format Configuration File Chapter 2 Creating Provisioning Scripts The element names that are recognized by the SPA can be derived from the SPA administration web server field names as follows: • Append [n] to each of the numbered parameters, where n is the line, user, or extension number (for example Dial_Plan[1] and Dial_Plan[2]). • Replace spaces plus any of the following special characters with underscores: - []()/ This is illustrated by Example 2-4, which also illustrates setting user access privileges, using the ua attribute. Example 2-4 Using Numbers and Spaces in an XML Profile The SPA processes empty elements and elements with empty values differently. If an element tag is specified within an empty element form, than the current value of the corresponding parameter is left unchanged. On the other hand, if the element tag is used within an opening and a closing element, with no value between them, then the corresponding parameter is set to an empty string. This is illustrated in Example 2-5. Example 2-5 Empty Elements vs. Empty Strings Using the empty element form is useful when specifying a read/write parameter (ua=rw). This allows the end user to set and maintain specific values (such as User 1 and User 2 settings), while preventing the profile from overwriting the user-supplied values during a resync operation. Example 2-6 Empty Elements Preserve User-Configured Values Linksys SPA Provisioning Guide 2-4 Version 3.0