Configuration File Compression - Cisco SPA901-UK - Small Business Pro Provisioning Manual

Voice system, voice gateways, and ip telephones
Table of Contents

Advertisement

Creating Provisioning Scripts
Open Format Configuration File
Cisco Small Business IP Telephony Devices Provisioning Guide
</Dial_Plan_1_>
</flat-profile>
Numeric character escapes, using decimal and hexadecimal values
(s.a. &#40; and &#x2e;), are translated.
The firmware does not support the full Unicode character set, but only the
ASCII subset.

Configuration File Compression

Optionally, the XML configuration profile can be compressed to reduce the
network load on the provisioning server. The supported compression method is
the gzip deflate algorithm (RFC1951). The gzip utility and a compression library
that implements the same algorithm (zlib) are available from Internet sites.
To identify when compression is applied, the IP Telephony device expects the
compressed file to contain a gzip compatible header, as generated by invoking the
gzip utility on the original XML file.
For example, if profile.xml is a valid profile, the file profile.xml.gz is also accepted.
This example can be generated with either of the following commands:
# first invocation, replaces original file with compressed file:
gzip profile.xml
# second invocation, leaves original file in place, produces new compressed
file:
cat profile.xml | gzip > profile.xml.gz
The IP Telephony device inspects the downloaded file header to determine the
format of the file. The choice of file name is not significant and any convention that
is convenient for the service provider can be used.
2
33

Advertisement

Table of Contents
loading

Table of Contents