<div>Anthony - thanks for the response.</div>
<div> </div>
<div>&lt;include&gt;<br>  &lt;extension name=&quot;public_did&quot;&gt;<br>    &lt;condition field=&quot;destination_number&quot; expression=&quot;^(3478309992)$&quot;&gt;<br>      &lt;action application=&quot;answer&quot;/&gt;<br>
      &lt;action application=&quot;sleep&quot; data=&quot;2000&quot;/&gt;<br>      &lt;action application=&quot;set&quot; data=&quot;fail_on_single_reject=NO_ANSWER,NORMAL_CLEARING,ALLOTTED_TIMEOUT&quot;/&gt;<br>      &lt;action application=&quot;bridge&quot; data=&quot;{ignore_early_media=true}[leg_timeout=10]sofia/gateway/broadvox1/2158824374|[leg_timeout=25]sofia/gateway/broadvox2/2158824374&quot;/&gt;<br>
    &lt;/condition&gt;<br>  &lt;/extension&gt;<br>&lt;/include&gt;</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 &#39;,&#39; AND operator not &#39;|&#39; 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">&lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt;</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>&lt;!-- add as many , sep cause codes which qualify to stop trying the<br>
pipe sep list --&gt;<br>&lt;action application=&quot;set&quot; data=&quot;fail_on_single_reject=no_answer&quot;/&gt;<br>
<div>
<div></div>
<div class="h5"><br><br>On Thu, Oct 21, 2010 at 8:23 PM, Phillip Jones &lt;<a href="mailto:pjintheusa@gmail.com">pjintheusa@gmail.com</a>&gt; wrote:<br>&gt; Hi there,<br>&gt; From the WIKI<br>&gt; Implementing Failover<br>
&gt;<br>&gt; Failover for your outbound gateway is easy to implement at bridge time using<br>&gt; the | separator:<br>&gt;<br>&gt; &lt;action application=&quot;bridge&quot;<br>&gt; data=&quot;sofia/gateway/primary/dialstring|sofia/gateway/secondary/dialstring&quot;/&gt;<br>
&gt;<br>&gt;<br>&gt; In the above example though, if the user does not pick the call, that bridge<br>&gt; will try again using the secondary gateway, which is not desired. The second<br>&gt; attempt should only be made in there is a problem with the gateway.<br>
&gt;<br>&gt; How do you control that? .<br>&gt;<br>&gt;<br>&gt; Thanks<br>&gt;<br>&gt;<br>&gt; Pj<br></div></div>&gt; _______________________________________________<br>&gt; FreeSWITCH-users mailing list<br>&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>&gt;<br>&gt;<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>