DRAFT
© 2003 - 2005 Sipura Technology, Inc
Proprietary (See Copyright Notice on Page 2)
39
Total Tone Length = 20s
RingScript
– A script that describes a ring tone.
Syntax: n=
ring-tone-name
;w=
waveform-id-or-path
;c=
cadence-id
;b=
break-time
;t=
total-time
ring-tone-name
is a name to identify this ring tone specification. This name will appear on the Ring Tone
menu of the phone. The same name can be used in a SIP Alert-Info header in an inbound INVITE request
to tell the phone to play the corresponding ring tone specification. Because of this, the name should
contain characters allowed in a URL only.
Waveform-id
is the index of the desired waveform to use in this ring tone specification. There are 4 built-in
waveforms at present:
1 = A classic phone with mechanical bell
2 = Typical phone ring
3 = A classic ring tone
4 = A wide-band frequency sweep signal
This field can also be a network path (url) to download a ring tone data file from a server on-the-fly. In this
case, the syntax of the field is
w=[tftp://]hostname[:port]/path.
cadence-id
is the index of the desired cadence to play the given waveform. 8 cadences (1–8) as defined
in <Cadence 1> through <Cadence 8>.
Cadence-id
can be 0 If w=3,4, or an url. Setting c=0 implies the
on-time is the natural length of the ring tone file.
break-time
specifies the number of seconds to break between two bursts of ring tone, such as b=2.5
total-time
specifies the total number of seconds to play the ring tone before it times out
Example 1:
n=Classic-1;w=3;c=1
Example 2
: n=Simple-1;w=2;c=1
Example 3: (TBD)
LedScript
– A script that describes the color and blinking pattern of a Line Key LED. Each script contains
a number of fields separated by a semicolon(;). White spaces are ignored. Each field has the syntax
<
field-name
> = <
field-value
>. The allowed
field-name
and corresponding
field-values
are listed below:
c=o|r|g|a
This field sets the color of the LED. The 4 choices are:
o = off
r = red
g = green
a = amber
p=n[b]|s[b]|f[b]|d[b]|u[d]