[Freeswitch-users] Playing an audio file to end destination before bridging the call

Adnan Barakat adnan at barakatdesigns.net
Mon Jul 14 08:46:38 PDT 2008


Michael Jerris wrote:
> You are correct,  You should be able to use:
> 
> http://wiki.freeswitch.org/wiki/Freeswitch_IVR_Originate#exec_in_answer_confirm
I tried this one, and in principle does exactly as needed however the playback 
quality is really bad:

<action application="set" data="group_confirm_key=exec" />
<action application="set" data="group_confirm_file=playback /tmp/file.wav" />

But if I use playback normally as below the quality if perfect (I realise that 
this below will play to the caller, but I just used to test the file was encoded 
correctly)??
<action application="playback" data="/tmp/file.wav" />

I've tried several encoding types, but none of worked, any ideas??

> http://wiki.freeswitch.org/wiki/Channel_Variables#execute_on_answer
This one played the file to the caller.


Thanks for your time and help on this

Adnan




More information about the FreeSWITCH-users mailing list