[Freeswitch-users] Dialing two destinations simultaneously hangup early
John Nash
john.nash778 at gmail.com
Fri Sep 11 18:53:32 MSD 2015
This will only play file and when file is played then it will send call to
gateway. I need to simultaneously play file as well as dial to gateway and
end sound file play in case 183 or 180 from gateway.
On Fri, Sep 11, 2015 at 6:35 PM, <acheraime at gmail.com> wrote:
> 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
>
> _________________________________________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150911/49ebde51/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list