Specifications
Aastra July 2014 PA-001011-03-04
186
As the phone displays a “Wav streaming” screen, the beginning of the streaming destroys the
current XML display so diverting the action uri incoming and onhook is the only way to regain
control for the XML application.
The typical use for this feature is a voicemail application or podcasts.
Note: Paging will not interrupt the streaming unless barge-in is set.
4.6.1 XML Commands
The phone supports 2 AastraIPPhoneExecute commands. 'Wav.Play' and 'Wav.Stop'.
XML Command: Wav.Play
This command initiates the streaming of a WAV file to the phone.
Syntax:
Wav.Play:[v]:[tftp://|http://[username[:password]@]<host>[:port][/<path>]/file
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.
Notes:
The default mode is HTTP and the default port for HTTP is 80
HTTPS is not supported.
Examples:
<ExecuteItem URI="Wav.Play:tftp://10.30.101.26/example.wav"/>
<ExecuteItem URI="Wav.Play:5:http://10.30.101.26/example.wav"/>
<ExecuteItem URI="Wav.Play:http://10.30.101.26:8080/example.wav"/>
<ExecuteItem URI="Wav.Play:2:http://user:password@10.30.101.26/sample.wav"/>
<ExecuteItem URI="Wav.Play:7:10.30.101.26/example.wav"/>
The last example is equivalent to
<ExecuteItem URI="Wav.Play:7:http://10.30.101.26/example.wav"/>
As HTTP is the default protocol.
XML Command: Wav.Stop
This command will abort WAV streaming.
Syntax:
Wav.Stop:
Example:
<ExecuteItem URI="Wav.Stop:"/>
4.6.2 File format
The phones support only the following file format: