Using the bridge | operator for Implementing Failover
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
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 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 GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
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 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
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 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 GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@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 GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
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
what happens with <action application="set" data="fail_on_single_reject=true"/> -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Using-the-bridge-operator-for-... Sent from the freeswitch-users mailing list archive at Nabble.com.
Jeff - Thanks for the response. <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="set" data="fail_on_single_reject=true"/> <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> This gives exactly the same result. The 2158824374 is called by each gateway specified. Pj On Sat, Oct 23, 2010 at 6:17 PM, Jeff Lenk <jeff@jefflenk.com> wrote:
what happens with <action application="set" data="fail_on_single_reject=true"/>
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Using-the-bridge-operator-for-... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ 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
Is anyone using the | to fail over carriers in the why an trying to here? There must be something I am missing here but I can not see it. Any help appreciated. On Sun, Oct 24, 2010 at 11:09 AM, Phillip Jones <pjintheusa@gmail.com>wrote:
Jeff - Thanks for the response.
<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="set" data="fail_on_single_reject=true"/> <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> This gives exactly the same result. The 2158824374 is called by each gateway specified.
Pj On Sat, Oct 23, 2010 at 6:17 PM, Jeff Lenk <jeff@jefflenk.com> wrote:
what happens with <action application="set" data="fail_on_single_reject=true"/>
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Using-the-bridge-operator-for-... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ 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
can you try latest On Sun, Oct 24, 2010 at 10:09 AM, Phillip Jones <pjintheusa@gmail.com> wrote:
Jeff - Thanks for the response.
<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="set" data="fail_on_single_reject=true"/> <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> This gives exactly the same result. The 2158824374 is called by each gateway specified.
Pj On Sat, Oct 23, 2010 at 6:17 PM, Jeff Lenk <jeff@jefflenk.com> wrote:
what happens with <action application="set" data="fail_on_single_reject=true"/>
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Using-the-bridge-operator-for-... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ 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 GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
Anthony, Thanks. I updated to the latest trunk and retested. Unfortunately I got exactly the same result - 2158824374 is called by each gateway specified.... Pj On Mon, Oct 25, 2010 at 2:09 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
can you try latest
On Sun, Oct 24, 2010 at 10:09 AM, Phillip Jones <pjintheusa@gmail.com> wrote:
Jeff - Thanks for the response.
<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="set" data="fail_on_single_reject=true"/> <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> This gives exactly the same result. The 2158824374 is called by each gateway specified.
Pj On Sat, Oct 23, 2010 at 6:17 PM, Jeff Lenk <jeff@jefflenk.com> wrote:
what happens with <action application="set" data="fail_on_single_reject=true"/>
-- View this message in context:
http://freeswitch-users.2379917.n2.nabble.com/Using-the-bridge-operator-for-...
Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ 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
Anthony - Any other thoughts on this? Anyone? On Mon, Oct 25, 2010 at 4:25 PM, Phillip Jones <pjintheusa@gmail.com> wrote:
Anthony,
Thanks. I updated to the latest trunk and retested. Unfortunately I got exactly the same result - 2158824374 is called by each gateway specified....
Pj
On Mon, Oct 25, 2010 at 2:09 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
can you try latest
On Sun, Oct 24, 2010 at 10:09 AM, Phillip Jones <pjintheusa@gmail.com> wrote:
Jeff - Thanks for the response.
<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="set" data="fail_on_single_reject=true"/> <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> This gives exactly the same result. The 2158824374 is called by each gateway specified.
Pj On Sat, Oct 23, 2010 at 6:17 PM, Jeff Lenk <jeff@jefflenk.com> wrote:
what happens with <action application="set" data="fail_on_single_reject=true"/>
-- View this message in context:
http://freeswitch-users.2379917.n2.nabble.com/Using-the-bridge-operator-for-...
Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ 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
I don't think you actually updated: see below freeswitch@deathstar.freeswitch.org> originate {fail_on_single_reject=ALLOTTED_TIMEOUT}error/ALLOTTED_TIMEOUT|sofia/internal/1235@conference.freeswitch.org 1234 2010-10-26 13:44:01.607864 [ERR] switch_ivr_originate.c:2612 Cannot create outgoing channel of type [error] cause: [ALLOTTED_TIMEOUT] -ERR ALLOTTED_TIMEOUT freeswitch@deathstar.freeswitch.org> originate error/ALLOTTED_TIMEOUT|sofia/internal/1235@conference.freeswitch.org 1234 2010-10-26 13:44:09.407870 [ERR] switch_ivr_originate.c:2612 Cannot create outgoing channel of type [error] cause: [ALLOTTED_TIMEOUT] 2010-10-26 13:44:09.407870 [NOTICE] switch_channel.c:784 New Channel sofia/internal/1235@conference.freeswitch.org [91bdc528-23cd-429e-9d46-c9e97950599a] 2010-10-26 13:44:09.413867 [WARNING] switch_core_port_allocator.c:78 Rounding odd end port 65535 to 65534 2010-10-26 13:44:09.573868 [INFO] sofia.c:709 sofia/internal/1235@conference.freeswitch.org Update Callee ID to "Imperial March" <sip:66@74.112.133.77> 2010-10-26 13:44:09.577867 [NOTICE] sofia.c:4659 Ring-Ready sofia/internal/1235@conference.freeswitch.org! 2010-10-26 13:44:09.681871 [NOTICE] sofia.c:5160 Channel [sofia/internal/1235@conference.freeswitch.org] has been answered 2010-10-26 13:44:09.683869 [NOTICE] switch_ivr.c:1507 Transfer sofia/internal/1235@conference.freeswitch.org to XML[1234@default] 2010-10-26 13:44:09.683869 [INFO] mod_dialplan_xml.c:331 Processing Imperial March <66>->1234 in context default +OK 91bdc528-23cd-429e-9d46-c9e97950599a 2010-10-26 13:44:09.685878 [INFO] switch_ivr_async.c:2991 Bound A-Leg: *1 transfer::-both 3000 freeswitch@deathstar.freeswitch.org> 2010-10-26 13:44:09.685878 [INFO] switch_core_session.c:1176 sofia/internal/1235@conference.freeswitch.org setting session heartbeat to 5 second(s). 2010-10-26 13:44:09.685878 [NOTICE] switch_channel.c:784 New Channel sofia/internal/sr@conference.freeswitch.org [80b3929b-a77f-4b4f-b9d2-433edbb36e30] 2010-10-26 13:44:09.895864 [INFO] sofia.c:709 sofia/internal/sr@conference.freeswitch.org Update Callee ID to "sr" <sip:sr@74.112.133.77> 2010-10-26 13:44:09.901868 [NOTICE] sofia.c:5160 Channel [sofia/internal/sr@conference.freeswitch.org] has been answered On Tue, Oct 26, 2010 at 12:53 PM, Phillip Jones <pjintheusa@gmail.com> wrote:
Anthony - Any other thoughts on this? Anyone?
On Mon, Oct 25, 2010 at 4:25 PM, Phillip Jones <pjintheusa@gmail.com> wrote:
Anthony,
Thanks. I updated to the latest trunk and retested. Unfortunately I got exactly the same result - 2158824374 is called by each gateway specified....
Pj
On Mon, Oct 25, 2010 at 2:09 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
can you try latest
On Sun, Oct 24, 2010 at 10:09 AM, Phillip Jones <pjintheusa@gmail.com> wrote:
Jeff - Thanks for the response.
<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="set" data="fail_on_single_reject=true"/> <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> This gives exactly the same result. The 2158824374 is called by each gateway specified.
Pj On Sat, Oct 23, 2010 at 6:17 PM, Jeff Lenk <jeff@jefflenk.com> wrote:
what happens with <action application="set" data="fail_on_single_reject=true"/>
-- View this message in context:
http://freeswitch-users.2379917.n2.nabble.com/Using-the-bridge-operator-for-... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ 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 GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@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 GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
Anthony - thanks for the response and you patience!
From your example the fail_on_single_reject must be passed in the {} before the dial string. Not set on the A leg as I was doing:
This does not work: <action application="set" data="fail_on_single_reject=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"/> But this works now: <action application="bridge" data="{fail_on_single_reject=ALLOTTED_TIMEOUT,ignore_early_media=true,originate_continue_on_timeout=false}[leg_timeout=10]sofia/gateway/broadvox1/2158824374|[leg_timeout=25]sofia/gateway/broadvox2/2158824374"/> Thanks again. On Tue, Oct 26, 2010 at 2:51 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
I don't think you actually updated: see below
freeswitch@deathstar.freeswitch.org> originate
{fail_on_single_reject=ALLOTTED_TIMEOUT}error/ALLOTTED_TIMEOUT|sofia/internal/ 1235@conference.freeswitch.org 1234 2010-10-26 13:44:01.607864 [ERR] switch_ivr_originate.c:2612 Cannot create outgoing channel of type [error] cause: [ALLOTTED_TIMEOUT]
-ERR ALLOTTED_TIMEOUT
freeswitch@deathstar.freeswitch.org> originate error/ALLOTTED_TIMEOUT|sofia/internal/1235@conference.freeswitch.org 1234 2010-10-26 13:44:09.407870 [ERR] switch_ivr_originate.c:2612 Cannot create outgoing channel of type [error] cause: [ALLOTTED_TIMEOUT] 2010-10-26 13:44:09.407870 [NOTICE] switch_channel.c:784 New Channel sofia/internal/1235@conference.freeswitch.org [91bdc528-23cd-429e-9d46-c9e97950599a] 2010-10-26 13:44:09.413867 [WARNING] switch_core_port_allocator.c:78 Rounding odd end port 65535 to 65534 2010-10-26 13:44:09.573868 [INFO] sofia.c:709 sofia/internal/1235@conference.freeswitch.org Update Callee ID to "Imperial March" <sip:66@74.112.133.77 <sip%3A66@74.112.133.77>> 2010-10-26 13:44:09.577867 [NOTICE] sofia.c:4659 Ring-Ready sofia/internal/1235@conference.freeswitch.org! 2010-10-26 13:44:09.681871 [NOTICE] sofia.c:5160 Channel [sofia/internal/1235@conference.freeswitch.org] has been answered 2010-10-26 13:44:09.683869 [NOTICE] switch_ivr.c:1507 Transfer sofia/internal/1235@conference.freeswitch.org to XML[1234@default] 2010-10-26 13:44:09.683869 [INFO] mod_dialplan_xml.c:331 Processing Imperial March <66>->1234 in context default
+OK 91bdc528-23cd-429e-9d46-c9e97950599a
2010-10-26 13:44:09.685878 [INFO] switch_ivr_async.c:2991 Bound A-Leg: *1 transfer::-both 3000 freeswitch@deathstar.freeswitch.org> 2010-10-26 13:44:09.685878 [INFO] switch_core_session.c:1176 sofia/internal/1235@conference.freeswitch.org setting session heartbeat to 5 second(s). 2010-10-26 13:44:09.685878 [NOTICE] switch_channel.c:784 New Channel sofia/internal/sr@conference.freeswitch.org [80b3929b-a77f-4b4f-b9d2-433edbb36e30] 2010-10-26 13:44:09.895864 [INFO] sofia.c:709 sofia/internal/sr@conference.freeswitch.org Update Callee ID to "sr" <sip:sr@74.112.133.77 <sip%3Asr@74.112.133.77>> 2010-10-26 13:44:09.901868 [NOTICE] sofia.c:5160 Channel [sofia/internal/sr@conference.freeswitch.org] has been answered
On Tue, Oct 26, 2010 at 12:53 PM, Phillip Jones <pjintheusa@gmail.com> wrote:
Anthony - Any other thoughts on this? Anyone?
On Mon, Oct 25, 2010 at 4:25 PM, Phillip Jones <pjintheusa@gmail.com> wrote:
Anthony,
Thanks. I updated to the latest trunk and retested. Unfortunately I got exactly the same result - 2158824374 is called by each gateway
specified....
Pj
On Mon, Oct 25, 2010 at 2:09 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
can you try latest
On Sun, Oct 24, 2010 at 10:09 AM, Phillip Jones <pjintheusa@gmail.com> wrote:
Jeff - Thanks for the response.
<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="set" data="fail_on_single_reject=true"/> <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> This gives exactly the same result. The 2158824374 is called by each gateway specified.
Pj On Sat, Oct 23, 2010 at 6:17 PM, Jeff Lenk <jeff@jefflenk.com> wrote:
what happens with <action application="set" data="fail_on_single_reject=true"/>
-- View this message in context:
http://freeswitch-users.2379917.n2.nabble.com/Using-the-bridge-operator-for-...
Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ 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
_______________________________________________ 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
participants (3)
-
Anthony Minessale
-
Jeff Lenk
-
Phillip Jones