<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div style="-webkit-text-size-adjust: auto; ">Maybe with:</div><div style="-webkit-text-size-adjust: auto; "><br></div><div><p style="margin: 0.4em 0px 0.5em; "><span style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);">Failover for your outbound gateway is easy to implement at bridge time using the | separator:</span></p><pre style="padding: 1em; border: 1px dashed rgb(47, 111, 171); "><font face="Helvetica"><span style="white-space: normal; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"> <action application="bridge" data="sofia/gateway/primary/dialstring|sofia/gateway/secondary/dialstring"/></span></font><span style="line-height: 1.1em; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); -webkit-text-size-adjust: auto; background-color: rgb(249, 249, 249); ">
</span></pre><div style="-webkit-text-size-adjust: auto; ">Or</div><div style="-webkit-text-size-adjust: auto; "><br></div><div style="-webkit-text-size-adjust: auto; ">By checking </div><div>${bridge_hangup_cause}?</div><div><br></div><div><br></div><div><br></div><span style="-webkit-text-size-adjust: auto;">---</span><div style="-webkit-text-size-adjust: auto; "><br></div><div style="-webkit-text-size-adjust: auto; ">David Villasmil</div><div style="-webkit-text-size-adjust: auto; "><br></div></div><div style="-webkit-text-size-adjust: auto; "><br>On Feb 23, 2013, at 8:48, "<a href="mailto:shayne.alone@gmail.com">shayne.alone@gmail.com</a>" <<a href="mailto:shayne.alone@gmail.com">shayne.alone@gmail.com</a>> wrote:<br><br></div><blockquote type="cite" style="-webkit-text-size-adjust: auto; "><div><div dir="ltr">I need to control over the return value of bridge application:<br><br>How should on find if the call was rejected bye Carrier_One ( before I fill 10 calls which I am permitted to ) and route then via Carrier_Two?<br>
<br><br><br><include><br> <extension name="noPerfixed"><br> <condition field="destination_number" expression="^([0-9]+)$"><br> <action application="set" data="ignore_early_media=true"/> <br>
<action application="set" data="continue_on_fail=NORMAL_TEMPORARY_FAILURE,NO_ROUTE_DESTINATION"/><br> <action application="limit_execute" data="hash outbound carrierOne 10 bridge sofia/gateway/xxx.xxx.xxx.101/$1" /><br>
<span style="color:rgb(153,0,0)"> <!-- what should i place here? --></span><br> <action application="hangup"/><br> <action application="bridge" data="sofia/gateway/xxx.xxx.xxx.102/12$1"/> <br>
<action application="hangup"/><br> </condition><br> </extension><br><br> <extension name="Perfixed"><br> <condition field="destination_number" expression="^[0-9]+#([0-9]+)$"><br>
<action application="transfer" data="$1 XML CallPlan"/><br> </condition><br> </extension><br></include><br><br><br><br clear="all"><br>-- <br><div dir="ltr"><span style="font-family:tahoma,sans-serif">Regards,</span><br style="font-family:tahoma,sans-serif">
<span style="font-family:tahoma,sans-serif">Ali R. Taleghani</span><span style="font-family:tahoma,sans-serif"></span><br style="font-family:tahoma,sans-serif"></div>
</div>
</div></blockquote><blockquote type="cite" style="-webkit-text-size-adjust: auto; "><div><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services:</span><br><span><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></span><br><span><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>FreeSWITCH-powered IP PBX: The CudaTel Communication Server</span><br><span><a href="http://www.cudatel.com">http://www.cudatel.com</a></span><br><span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br><span><a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a></span><br><span><a href="http://www.cluecon.com">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote></body></html>