[Freeswitch-users] Loopback and bypass_media
Phillip Jones
pjintheusa at gmail.com
Tue Aug 11 09:08:03 PDT 2009
Can you use this method to make simultaneous calls though while
preserving carrier order? i.e. each call must try carrier 1 first then
carrier 2 (because each carrier terminates a different subset of
numbers)
So - if I did NOT want to support failover I would use:
session:execute("bridge",
"sofia/gateway/broadvox/6095553828,sofia/gateway/broadvox/7325553828");
<< call 6095553828 and 7325553828 at the same time
If I were to use failover and not need multiple destinations then I would use:
session:execute("bridge",
"sofia/gateway/broadvox/6095553828|sofia/gateway/quest/6095553828");
<< call using broadvox first and quest it that fails
I need to combine:
Call 6095553828 and 7325553828 simultaneously and each trying
broadvox then on fail quest.
session:execute("bridge",
"(sofia/gateway/broadvox/6095553828|sofia/gateway/quest/6095553828),(sofia/gateway/broadvox/7325553828,sofia/gateway/quest/7325553828)");
But of course that syntax does not work.
I can not see another syntax that would achieve this?
On Tue, Aug 11, 2009 at 10:58 AM, Brian West<brian at freeswitch.org> wrote:
> This can all be accomplished with standard bridge lines stacked one on top
> of the other with continue_on_fail set to the list of codes you wish to fail
> over with. You would also want to set hangup_after_bridge=true. Loopback
> should NEVER be used in this case.
> http://wiki.freeswitch.org/wiki/Channel_Variables#continue_on_fail
> http://wiki.freeswitch.org/wiki/Channel_Variables#hangup_after_bridge
> /b
> On Aug 11, 2009, at 9:46 AM, Phillip Jones wrote:
>
> Thanks for the reply Brian.
>
> I went through this fairly carefully with Mike Jerris - please see
> http://www.nabble.com/Calling-Multiple-Destinations-with-Failover-td24877157.html
>
> I am very open to any other mechanism that allows the calling multiple
> destinations with carrier failover support. I would have thought this
> is a fairly common requirement and is a fundamental requirement in my
> application.
>
> As always - your help is appreciated.
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
More information about the FreeSWITCH-users
mailing list