[Freeswitch-users] Consecutive bridge actions vs multiple targets in a single bridge action.

Michael Collins msc at freeswitch.org
Tue Jul 30 19:30:49 MSD 2013


Try experimenting with
https://wiki.freeswitch.org/wiki/Channel_Variables#continue_on_fail.
-MC


On Tue, Jul 30, 2013 at 7:13 AM, Oleg Sharoyko <osharoiko at gmail.com> wrote:

> Hi,
>
> I was wondering if there exists a simple way of implementing behavior
> equivalent to
>
> <action application="bridge"
> data="sofia/gateway/gw1/$1|sofia/gateway/gw2/$1"/>
>
> with two consecutive bridge actions?
>
> I've tried this:
>
> <action application="set" data="hangup_after_bridge=true"/>
> <action application="bridge" data="sofia/gateway/gw1/$1"/>
> <action application="bridge" data="sofia/gateway/gw2/$1"/>
>
> and it results in almost the same behavior except that if first call
> is rejected by destination (say I was calling a mobile phone and on
> that phone reject button was pushed) then second action will still be
> executed. I think with a single bridge action call is considered
> successful if early media state is reached while with two consecutive
> actions hangup_after_bridge=true only acts on a fully established
> call. I couldn't find any options to change this. Will appreciate your
> help. Thank you!
>
> Best regards,
> --
> Oleg
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.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
>



-- 
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130730/e60bbed9/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list