Creating Provisioning Scripts
Data Types
Cisco Small Business IP Telephony Devices Provisioning Guide
•
ActCode—Activation code for a supplementary service, such as *69. It can
contain up to 7 characters.
•
PhTmplt—A phone number template. Each template may contain one or
more patterns separated by a ",". White space at the beginning of each
pattern is ignored. "?" and "*" represent wildcard characters. To represent
literally use %xx. For example, %2a represents *. It can contain up to 39
characters. Examples: "1408*, 1510*", "1408123????, 555?1.".
•
RscTmplt—A template of SIP Response Status Code, such as "404, 5*",
"61?", "407, 408, 487, 481". It can contain up to 39 characters.
•
CadScript—A mini-script that specifies the cadence parameters of a signal.
Up to 127 characters. Syntax: S
off
[,on
/off
[,on
i,2
i,3
i,3
section
, on
and off
i,j
1 or 2, and j = 1 to 6. D
durations can have up to three decimal places to provide 1 ms resolution.
The wildcard character "*" stands for infinite duration. The segments within
a section are played in order and repeated until the total duration is played.
Example 1:
60(2/4)
Number of Cadence Sections = 1
Cadence Section 1: Section Length = 60 s
Number of Segments = 1
Segment 1: On=2s, Off=4s
Total Ring Length = 60s
Example 2—Distinctive ring (short,short,short,long):
60(.2/.2,.2/.2,.2/.2,1/4)
Number of Cadence Sections = 1
Cadence Section 1: Section Length = 60s
Number of Segments = 4
Segment 1: On=0.2s, Off=0.2s
[;S
], where: S
1
2
/off
[,on
/off
[,on
i,4
i,4
i,5
i,5
are the on/off duration in seconds of a
i,j
is the total duration of the section in seconds. All
i
=D
(on
/off
[,on
i
i
i,1
i,1
/off
]]]]]) and is known as a
i,6
i,6
segment
2
/
i,2
and i =
57