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

Michael Jerris mike at jerris.com
Mon Jul 14 09:43:18 PDT 2008


try adding a set var for timer=soft

Mike

On Jul 14, 2008, at 11:46 AM, Adnan Barakat wrote:

> 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
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org





More information about the FreeSWITCH-users mailing list