Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Possible to use SendExecute Play: command with a wav file?

Is it possible to play a wav file using a command like the one listed below. I see mention of this can be done in a Prompt. I need to be able to do this using strickly IP Phone commands...yes, I know I can read and stream using RTP...

Can Play understand a wav file like this?

<CiscoIPPhoneExecute>

<ExecuteItem Priority="0" URL="Play:chime.wav"/>

</CiscoIPPhoneExecute>

2 REPLIES
Community Member

Re: Possible to use SendExecute Play: command with a wav file?

Sort of. If you create your wav file correctly (PCM, 8000 samples per sec, 8 bit sameples, uLaw), then put the file in your TFTP directory it should play - and you can create a wav file to this spec using Windows sound recorder. The problem you will have is that the file create will have a WAV header, which will result in clicks / noise at the start of the playback.

If you can manually remove the wav file header it should be fine.

c

Re: Possible to use SendExecute Play: command with a wav file?

Also, those files have the same constraints as ringtones in terms of the duration.. so if you're thinking about playing files that last multiple minutes that is a nogo (iirc it actually plays for a bit but then stops).

129
Views
0
Helpful
2
Replies
CreatePlease to create content