<div dir="ltr"><div>Try experimenting with <a href="https://wiki.freeswitch.org/wiki/Channel_Variables#continue_on_fail">https://wiki.freeswitch.org/wiki/Channel_Variables#continue_on_fail</a>.<br></div>-MC<br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Jul 30, 2013 at 7:13 AM, Oleg Sharoyko <span dir="ltr"><<a href="mailto:osharoiko@gmail.com" target="_blank">osharoiko@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I was wondering if there exists a simple way of implementing behavior<br>
equivalent to<br>
<br>
<action application="bridge" data="sofia/gateway/gw1/$1|sofia/gateway/gw2/$1"/><br>
<br>
with two consecutive bridge actions?<br>
<br>
I've tried this:<br>
<br>
<action application="set" data="hangup_after_bridge=true"/><br>
<action application="bridge" data="sofia/gateway/gw1/$1"/><br>
<action application="bridge" data="sofia/gateway/gw2/$1"/><br>
<br>
and it results in almost the same behavior except that if first call<br>
is rejected by destination (say I was calling a mobile phone and on<br>
that phone reject button was pushed) then second action will still be<br>
executed. I think with a single bridge action call is considered<br>
successful if early media state is reached while with two consecutive<br>
actions hangup_after_bridge=true only acts on a fully established<br>
call. I couldn't find any options to change this. Will appreciate your<br>
help. Thank you!<br>
<br>
Best regards,<br>
--<br>
Oleg<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br>
</div>