© 2003 - 2005 Sipura Technology, Inc
Proprietary (See Copyright Notice on Page 2)
26
Resync From SIP:
ParName: Resync_From_SIP
Default: Yes
Resync_From_SIP gates the ability of a service provider to trigger a profile resync via a SIP NOTIFY
message to the SPA.
Profile Rule:
ParName: Profile_Rule
Default: /spa$PSN.cfg
The Profile_Rule parameter is a script that identifies the provisioning server to contact when
performing a profile resync. The string supports one level of macro expansion, using a small set of
variables. Following macro substitution, the rule is evaluated to obtain the URL of the CFG file to be
requested from the provisioning server.
The URL can be partially specified, in which case default values are assumed for the unspecified
terms. The filepath portion of the URL must always be specified.
The Profile_Rule supports additional syntax that allows the URL to be a function of the firmware
release currently running in the SPA. This mechanism can aid the service provider’s firmware
upgrade sequence, by allowing them to define different configuration profiles for different stages of an
upgrade sequence.
The conditional syntax consists of a sequence of condition-url pairs, separated by the ‘|’ character.
The condition component tests the current firmware version number against a specified value. If the
last url in the sequence does not have an associated condition, it will be attempted unconditionally.
The sequence of conditions is evaluated until one is satisfied. The URL associated with that
condition is then used to resync the SPA. No additional URLs in the rule are considered.
Optional qualifiers can be specified in brackets, preceding each URL. One such qualifier is the key
used to encrypt the CFG file, if key-based encryption is used.
To ease testing and development, the script syntax also supports using ‘#’ as a comment delimiter
(until end-of-parameter). This allows a potentially long script to be temporarily “commented out”.
The syntax for the rule is as follows (with standard conventions for URLs):
rule = term [ ‘|’ term [ ‘|’ term . . . ] ]
term = ‘(‘ relop version ‘)’ ‘?’ [options] url
relop = ‘<’ | ‘>’ | ‘==’ | ‘!=’ | ‘!’
version = major [‘.’ minor [‘.’ build [‘(‘ features ‘)’] ] ]
options = ‘[‘ –-key key-string ‘]’
key-string = password | quoted-pass-phrase | hex-string