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