<div dir="ltr">I believe you want enterprise originate :_:<div><br></div><div>${call1}:_:${call2} -- will call both 1 and 2 at the same time and the first to answer takes the call.</div><div><br></div><div>In your example, with fail overs, it looks like:</div><div><br></div><div><span style="font-size:12.8000001907349px">originate </span><span style="font-size:12.8000001907349px">sofia/gateway/provider_1/</span><span style="font-size:12.8000001907349px">919246461001|sofia/gateway/</span><span style="font-size:12.8000001907349px">provider_2/919246461001:_:</span><span style="font-size:12.8000001907349px">sofia/gateway/provider_1/</span><span style="font-size:12.8000001907349px">919246461002|sofia/gateway/</span><span style="font-size:12.8000001907349px">provider_2/919246461002 </span><span style="font-size:12.8000001907349px">5000</span><br></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">... 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.</span></div><div><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">-Avi<br></div></div></div>
<br><div class="gmail_quote">On Wed, May 27, 2015 at 7:10 PM, Dmitry Mordovin <span dir="ltr"><<a href="mailto:dm@dwide.com" target="_blank">dm@dwide.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
For sample:<br>
- Have two voip gateways: provider_1 and provider_2<br>
- Need originate multiple destinations at the same time, protected<br>
through each gateway<br>
<br>
So, originate would be like:<br>
<br>
originate<br>
(sofia/gateway/provider_1/919246461001|sofia/gateway/provider_2/919246461001),(sofia/gateway/provider_1/919246461002|sofia/gateway/provider_2/919246461002)<br>
5000<br>
<br>
Explain.<br>
<br>
Originate calls to 919246461001 and 919246461002 parallel through<br>
provider_1, if provider_1 failed, try provider_2<br>
<br>
Does any one did it?<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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>
</blockquote></div><br></div></div>