<div>Anthony - thanks for the response.</div>
<div> </div>
<div><include><br> <extension name="public_did"><br> <condition field="destination_number" expression="^(3478309992)$"><br> <action application="answer"/><br>
<action application="sleep" data="2000"/><br> <action application="set" data="fail_on_single_reject=NO_ANSWER,NORMAL_CLEARING,ALLOTTED_TIMEOUT"/><br> <action application="bridge" data="{ignore_early_media=true}[leg_timeout=10]sofia/gateway/broadvox1/2158824374|[leg_timeout=25]sofia/gateway/broadvox2/2158824374"/><br>
</condition><br> </extension><br></include></div>
<div><br><br>I get ALLOTTED_TIMEOUT as expected from the first attempt at calling 2158824374, but it is just called again through the 2nd broadvox gateway. It does not fail as expected.</div>
<div> </div>
<div>I am on todays GIT.</div>
<div> </div>
<div>I do note that in the WIKI and code comments - it only mentions fail_on_single_reject in connection the ',' AND operator not '|' pipe operator.</div>
<div> </div>
<div>Can you see what I am doing wrong here?</div>
<div> </div>
<div>Thanks,</div>
<div> </div>
<div> </div>
<div>Pj</div>
<div> </div>
<div> </div>
<div class="gmail_quote">On Thu, Oct 21, 2010 at 11:55 PM, Anthony Minessale <span dir="ltr"><<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">put this before the bridge call<br><br><!-- add as many , sep cause codes which qualify to stop trying the<br>
pipe sep list --><br><action application="set" data="fail_on_single_reject=no_answer"/><br>
<div>
<div></div>
<div class="h5"><br><br>On Thu, Oct 21, 2010 at 8:23 PM, Phillip Jones <<a href="mailto:pjintheusa@gmail.com">pjintheusa@gmail.com</a>> wrote:<br>> Hi there,<br>> From the WIKI<br>> Implementing Failover<br>
><br>> Failover for your outbound gateway is easy to implement at bridge time using<br>> the | separator:<br>><br>> <action application="bridge"<br>> data="sofia/gateway/primary/dialstring|sofia/gateway/secondary/dialstring"/><br>
><br>><br>> In the above example though, if the user does not pick the call, that bridge<br>> will try again using the secondary gateway, which is not desired. The second<br>> attempt should only be made in there is a problem with the gateway.<br>
><br>> How do you control that? .<br>><br>><br>> Thanks<br>><br>><br>> Pj<br></div></div>> _______________________________________________<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>><br>><br><br><br><br>--<br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>IRC: <a href="http://irc.freenode.net/" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br>
<a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:+19193869900<br>
<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>