[Freeswitch-users] Dialing two destinations simultaneously hangup early
acheraime at gmail.com
acheraime at gmail.com
Fri Sep 11 17:05:52 MSD 2015
Try pre_answer application as follow:
<action application="pre_answer"/>
<action application="playback" data="your_audio_file"/>
<action application="bridge" data="your_dial_string"/>
Sent from my iPhone
> On Sep 11, 2015, at 7:59 AM, John Nash <john.nash778 at gmail.com> wrote:
>
> I need to test a case to generate following user experience ..
>
> User dials a number and when call hits freeswitch, freeswitch plays a sound file but the same time dials out to a gateway, that means user hears sound file but at the same time call is being tried by gateway and when gateway sends ring 183 or 180, Sound file stops playing and user hears ringback or any media sent by gateway .
>
> I plan to do this by using bridge application to two destinations, One is to play sound file and other to send call to gateway.
>
> But how can I hangup the call to extension which is playing Sound file, upon receiving the 180 or 183 from gateway (Second fork )..where should I look for this?
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 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
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list