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