Tones Element Example
<?xml version="1.0" ?>
<config>
<ringtones>
<tones>
<tone id="Alarm" display="Alarm" type="phone"/>
<tone id="Chimes" display="Chimes" type="phone"/>
<tone id="Digium" display="Digium" type="phone"/>
<tone id="GuitarStrum" display="Guitar Strum" type="phone"/>
<tone id="Jingle" display="Jingle" type="phone"/>
<tone id="Office" display="Office" type="phone"/>
<tone id="Office2" display="Office 2" type="phone"/>
<tone id="RotaryPhone" display="Rotary Phone" type="phone"/>
<tone id="SteelDrum" display="Steel Drum" type="phone"/>
<tone id="Techno" display="Techno" type="phone"/>
<tone id="Theme" display="Theme" type="phone"/>
<tone id="Tweedle" display="Tweedle" type="phone"/>
<tone id="Twinkle" display="Twinkle" type="phone"/>
<tone id="Vibe" display="Vibe" type="phone"/>
<tone id="208" display"Fancy" url="http://10.1.2.3/mytone.wav" md5="abc123"
type="user"/>
</tones>
</ringtones>
</config>
Element lists the <tone> elements, each described by the following attributes:
Option
Values
Description
id
string
Internal Tone identifier
display
string
External Tone Description
url
URL
string
Location from which to retrieve a 16kHz, mono WAV sound file, less than 1MB in size
md5
md5sum
MD5 sum of the file to be retrieved
type
phone,
user
Indicates the tone's origin; tones that are type phone are embedded into the phone's firmware, tones that are type user
are retrieved by URL
Alerts: Child element of <ringtones>
Alerts Element Example
Alerts Element Example
<?xml version="1.0" ?>
<config>
<ringtones>
<alerts>
<alert alert_info="normal" ringtone_id="Digium" ring_type="normal" />
<alert alert_info="ring-answer" ringtone_id="Digium" ring_type="ring-answer" />
<alert alert_info="intercom" ringtone_id="" ring_type="answer" />
<alert alert_info="visual" ringtone_id="" ring_type="visual" />
</alerts>
</ringtones>
</config>
Element lists the <alert> elements, each described by the following attributes.
Alert tones are played when the event designated by 'alert_info' occurs.
Option
Values
Description
alert_info
string
The alert_info header that, as received, applies to this alert