EasyManuals Logo

Cisco SPA122 Provisioning Guide

Cisco SPA122
213 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #28 background imageLoading...
Page #28 background image
Creating XML Provisioning Scripts
Using Provisioning Parameters
Provisioning Guide for Cisco SPA100 and SPA200 Series Analog Telephone Adapters 28
2
Within each Profile_Rule* parameter, all of the alternatives except the last one must
provide a conditional expression. This expression is evaluated and processed as
follows:
1. Conditions are evaluated from left to right, until one is found that evaluates as
true (or until one alternative is found with no conditional expression)
2. Any accompanying assignment expression is evaluated, if present
3. If a URL is specified as part of that alternative, an attempt is made to download
the profile located at the specified URL, and update the internal parameters
accordingly.
If all alternatives have conditional expressions, and none evaluates to true (or if the
whole profile rule is empty), then the entire Profile_Rule* parameter is skipped,
and the next profile rule parameter in the sequence is evaluated.
The following are some examples of valid programming for a single Profile_Rule*
parameter.
The following example resyncs unconditionally to the profile at the specified URL,
performing an HTTP GET request to the remote provisioning server.
http://remote.server.com/cisco/$MA.cfg
In the following example, the device resyncs to two different URLs, depending on
the registration state of Line 1. In case of lost registration, the device performs an
HTTP POST to a CGI script, transmitting the contents of the macro expanded
GPP_A (which may provide additional information on the state of the device).
($REGTMR1 eq 0)? http://p.tel.com/has-reg.cfg
| [--post a] http://p.tel.com/lost-reg?
In the following example, the device resyncs to the same server, but provides
additional information if a certificate is not installed in the unit (for legacy pre-2.0
units).
(“$CCERT” eq “Installed”)? https://p.tel.com/config?
| https://p.tel.com/config?cisco$MAU
In the following example, Line 1 is disabled until GPP_A is set equal to Provisioned
through the first URL. Afterwards, it resyncs to the second URL.
(“$A” ne “Provisioned”)? (Line_Enable_1_ = “No”;)! https://p.tel.com/init-
prov
| https://p.tel.com/configs

Table of Contents

Other manuals for Cisco SPA122

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco SPA122 and is the answer not in the manual?

Cisco SPA122 Specifications

General IconGeneral
Ports2 FXS ports
Network Interface10/100 Mbps Ethernet
Voice ProtocolSIP
Voice CodecsG.711, G.726, G.729 A
SecurityTLS
Power Supply5V DC, 2A
Network Ports1 x 10/100 Mbps
Fax SupportT.38 fax relay
Operating Temperature0°C to 45°C
Storage Temperature14 to 140°F (-10 to 60°C)
Humidity10% to 90% noncondensing
Weight0.16 kg

Related product manuals