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

Unanswered Question

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>

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
ckatene Wed, 10/15/2008 - 18:21
User Badges:
  • Bronze, 100 points or more

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



stephan.steiner Thu, 10/16/2008 - 01:21
User Badges:
  • Silver, 250 points or more

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).

Actions

This Discussion