Cisco SPA901-UK - Small Business Pro Provisioning Manual page 53

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

Advertisement

Creating Provisioning Scripts
Using Provisioning Parameters
Cisco Small Business IP Telephony Devices Provisioning Guide
3. Profile_Rule_C
4. Profile_Rule_D
Each evaluation can result in a profile being retrieved from a remote provisioning
server, possibly updating some number of internal parameters. If an evaluation
fails, the resync sequence is interrupted, and is retried again from the beginning
specified by the Resync_Error_Retry_Delay parameter (seconds). If all evaluations
succeed, the device waits for the second specified by the Resync_Periodic
parameter, and then performs a resync again.
The contents of each Profile_Rule* parameter consist of a set of alternatives. The
alternatives are separated by the | (pipe) character. Each alternative consists of a
conditional expression, an assignment expression, a profile URL, and any
associated URL options. All these components are optional within each alternative.
The following are the valid combinations, and the order in which they must appear,
if present:
[ conditional-expr ] [ assignment-expr ] [[ options ] URL ]
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
2
52

Advertisement

Table of Contents
loading

Table of Contents