Creating an XML Application
F-56 41-001160-03, Rev 00, Release 2.4
IP Phone Administrator Guide
Using Commands for Playing a WAV File
The IP Phones allow a WAV file to be played or stopped via XML Execute
commands. A WAV file is an audio file format standard for storing an audio bit
stream on a system in raw, uncompressed format or compressed format to reduce
the file size.
A WAV file can be streamed to the phone using the HTTP protocol.
The WAV feature supports the following:
• Streaming of the WAV file to allow it to be locally played
• Allows you to abort the audio streaming by pressing the Goodbye key on the
phone.
• Supports the HTTP file download protocol
• Supports the aLaw and uLaw codecs
• Calls “Action URI INCOMING” when the audio WAV starts, and
“Action URI ONHOOK” when the WAV file playing has completed. The
name of the WAV file is inserted into the Action URI.
• Plays the WAV file only if the phone is idle.
• Aborts streaming if another line is selected for dialing out, or if the current
line is accepting an incoming call.
• WAV audio file starts only when 4 seconds of the audio data (or the complete
file) has been accumulated.
• Follows the standard phone behavior of speaker/head set/hand set.
An Administrator can use two new XML Execute commands with the
AastraIPPhoneExecute object to allow the phones to play a WAV file:
• Wav.Play - This command initiates the streaming of a WAV file to the phone.
•Wav.Stop - This command aborts a WAV streaming.
Draft 1