Linksys SPA921 Cisco Small Business IP Telephony Devices Provisioning Guide - Page 37

Creating Provisioning Scripts, Special Character, XML Escape Sequence, Telephony Device.

Page 37 highlights

Creating Provisioning Scripts Open Format Configuration File 2 • An XML header of the form is allowed, but is ignored by the IP Telephony Device. • 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) XML Escape Sequence & < > ' " 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, which sets the Dial_Plan[1] parameter equal to ( S0 ). ( S0 <:18005551212> ) NOTE • Numeric character escapes, using decimal and hexadecimal values (s.a. ( and .), are also translated. • The firmware does not support the full Unicode character set, but only the ASCII subset. Cisco Small Business IP Telephony Devices Provisioning Guide 35

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116

Creating Provisioning Scripts
Open Format Configuration File
Cisco Small Business IP Telephony Devices Provisioning Guide
35
2
An XML header of the form <? . . . ?> is allowed, but is ignored by the IP
Telephony Device.
To enter special characters, use basic XML character escapes, as shown in
the following table.
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, which sets the Dial_Plan[1]
parameter equal to ( S0 <:18005551212> ).
<flat-profile>
<Dial_Plan_1_>
( S0 &lt;:18005551212&gt; )
</Dial_Plan_1_>
</flat-profile>
NOTE
Numeric character escapes, using decimal and hexadecimal values (s.a.
&#40;
and
&#x2e;),
are also translated.
The firmware does not support the full Unicode character set, but only the
ASCII subset.
Special Character
XML Escape Sequence
& (ampersand)
&amp;
< (less than)
&lt;
> (greater than)
&gt;
’ (apostrophe)
&apos;
” (double quote)
&quot;