Cisco Ip Phone 6800 Series Multiplatform Phones Provisioning Guide - Cisco 6800 Series Provisioning Manual

Multiplatform phones
Hide thumbs Also See for 6800 Series:
Table of Contents

Advertisement

Profile Rules
Within each Profile_Rule* parameter, all alternatives except the last one must provide a conditional expression.
This expression is evaluated and is 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 that is located
at the specified URL. The system attempts to update the internal parameters accordingly.
If all alternatives have conditional expressions and none evaluates to true (or if the whole profile rule is empty),
the entire Profile_Rule* parameter is skipped. The next profile rule parameter in the sequence is evaluated.
Example 1
This example resyncs unconditionally to the profile at the specified URL, and performs an HTTP GET request
to the remote provisioning server:
http://remote.server.com/cisco/$MA.cfg
Example 2
In this 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. The device sends the contents
of the macro expanded GPP_A, which may provide additional information on the device state:
($PRVTMR ge 600)? http://p.tel.com/has-reg.cfg
| [--post a] http://p.tel.com/lost-reg?
Example 3
In this example, the device resyncs to the same server. The device 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
Example 4
In this 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
Example 5
In this example, the profile that the server returns is assumed to contain XML element tags. These tags must
be remapped to proper parameter names by the aliases map stored in GPP_B:
[--alias b] https://p.tel.com/account/$PN$MA.xml

Cisco IP Phone 6800 Series Multiplatform Phones Provisioning Guide

26
Provisioning Scripts

Advertisement

Table of Contents
loading

Table of Contents