Specifications

Aastra July 2014 PA-001011-03-04
188
4.7 Wav file loop playback (melody)
The phone also has the capability to download a wav file from a TFTP / FTP / HTTP server and
play it continuously until it is stopped by a stop command or a user intervention.
Unlike the “Wav” streaming commands the file is first downloaded from the server and them played
in loop locally on the phone.
For performance reasons, up to 8 wav files can be cached on the phone to allow a faster playback
for following commands. The cache is limited to 400k and lost at reboot.
This command follows the configured phone behavior for the audio path (speaker, headset and
handset) and supports volume adjustments.
Notes:
The wav file is locally played only if the phone is idle.
The wav file size is limited to 200K
The user can abort the playback with:
Goodbye key
Soft 'Drop' key
On hook (when handset active)
Selecting a line
Unlike the streaming capability, the beginning and the end of a playback does not trigger any
following action uri and the phone display is not changed.
Note: Paging will not interrupt the streaming unless barge-in is set.
4.7.1 XML Commands
The phone supports 2 AastraIPPhoneExecute commands. 'Melody.Play' and 'Melody.Stop'.
XML Command: Melody.Play
This command initiates the download then playback of a WAV file to the phone.
Syntax:
melody.Play:[tftp://|ftp://|http://[username[:password]@]<host>[:port][/<path>]/f
ile:[v]
Where v is the volume level of the audio path from 0 (lowest level) to 9 (highest level), this
volume level overrides the current configured volume level of the phone.
Examples:
<ExecuteItem URI="Melody.Play:tftp://10.30.101.26/example.wav"/>
<ExecuteItem URI="Melody.Play:ftp://user:password@10.30.101.26/example.wav:5"/>
<ExecuteItem URI="Melody.Play:http://10.30.101.26:8080/example.wav"/>
<ExecuteItem URI="Melody.Play:http://user:password@10.30.101.26/sample.wav:2"/>
XML Command: Melody.Stop
This command will abort the wav file playback.