[Freeswitch-users] Routing question

Avi Marcus avi at avimarcus.net
Thu May 28 07:57:46 MSD 2015


I believe you want enterprise originate :_:

${call1}:_:${call2} -- will call both 1 and 2 at the same time and the
first to answer takes the call.

In your example, with fail overs, it looks like:

originate sofia/gateway/provider_1/919246461001|sofia/gateway/
provider_2/919246461001:_:sofia/gateway/provider_1/
919246461002|sofia/gateway/provider_2/919246461002 5000

... using it in an originate command I don't know for sure if it will work,
I've only used it in a bridge command.


-Avi

On Wed, May 27, 2015 at 7:10 PM, Dmitry Mordovin <dm at dwide.com> wrote:

> Hi all,
>
> For sample:
> - Have two voip gateways: provider_1 and provider_2
> - Need originate multiple destinations at the same time, protected
> through each gateway
>
> So, originate would be like:
>
> originate
>
> (sofia/gateway/provider_1/919246461001|sofia/gateway/provider_2/919246461001),(sofia/gateway/provider_1/919246461002|sofia/gateway/provider_2/919246461002)
> 5000
>
> Explain.
>
> Originate calls to 919246461001 and 919246461002 parallel through
> provider_1, if provider_1 failed, try provider_2
>
> Does any one did it?
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150528/0b6aa15d/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list