<div>Thanks.</div>
<div> </div>
<div>That didn't seem to work however.</div>
<div> </div>
<div><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,originate_continue_on_timeout=false}[leg_timeout=10]sofia/gateway/broadvox1/2158824374|[leg_timeout=25]sofia/gateway/broadvox2/2158824374"/><br>
</condition><br> </extension></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"><<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">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 <<a href="mailto:pjintheusa@gmail.com">pjintheusa@gmail.com</a>> wrote:<br>> Anthony - thanks for the response.<br>><br>> <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"<br>> data="fail_on_single_reject=NO_ANSWER,NORMAL_CLEARING,ALLOTTED_TIMEOUT"/><br>
> <action application="bridge"<br>> 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><br>><br>> I get ALLOTTED_TIMEOUT as expected from the first attempt at<br>> calling 2158824374, but it is just called again through the 2nd broadvox<br>> gateway. It does not fail as expected.<br>
><br>> I am on todays GIT.<br>><br>> I do note that in the WIKI and code comments - it only mentions<br>> fail_on_single_reject in connection the ',' AND operator not '|' pipe<br>> operator.<br>
><br>> Can you see what I am doing wrong here?<br>><br>> Thanks,<br>><br>><br>> Pj<br>><br>><br>> On Thu, Oct 21, 2010 at 11:55 PM, Anthony Minessale<br>> <<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>> wrote:<br>
>><br>>> 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>
>><br>>><br>>> On Thu, Oct 21, 2010 at 8:23 PM, Phillip Jones <<a href="mailto:pjintheusa@gmail.com">pjintheusa@gmail.com</a>><br>>> 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<br>>> > using<br>>> > the | separator:<br>>> ><br>>> > <action application="bridge"<br>
>> ><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<br>
>> > bridge<br>>> > will try again using the secondary gateway, which is not desired. The<br>>> > 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>>> > _______________________________________________<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>
><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>
><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>
</div></div></blockquote></div><br>