<div dir="ltr">See: <a href="http://wiki.freeswitch.org/wiki/Freeswitch_IVR_Originate">http://wiki.freeswitch.org/wiki/Freeswitch_IVR_Originate</a><div><br></div><div><h4 style="color:rgb(0,0,0);background-image:none;margin:0px 0px 0.3em;overflow:hidden;padding-top:0.5em;padding-bottom:0.17em;border-bottom-style:none;font-size:15px;font-family:sans-serif;line-height:19.1875px">

<span class="" id="Enterprise_originate">Enterprise originate</span></h4><p style="margin:0.4em 0px 0.5em;line-height:19.1875px;color:rgb(0,0,0);font-family:sans-serif;font-size:13px">The so called &#39;enterprise originate&#39; syntax is a way to simultaneously originate multiple calls in several threads (regular simultaneous originate is single threaded). To use it simply separate valid dial strings by :_: . Each dial string can have its own {} and [] blocks and can themselves be simultaneous or sequential (containing &#39;,&#39; or &#39;|&#39;) as above. To add channel variables to the entire enterprise originate use &lt;&gt; blocks:</p>

<pre style="font-family:monospace,Courier;padding:1em;border:1px dashed rgb(47,111,171);color:rgb(0,0,0);background-color:rgb(249,249,249);line-height:1.3em;font-size:13px">originate &lt;all_threads=true&gt;{first_thread=true}sofia/gw/foo/bar:_:{second_thread=true}sofia/gw/foo/baz
</pre><p style="margin:0.4em 0px 0.5em;line-height:19.1875px;color:rgb(0,0,0);font-family:sans-serif;font-size:13px">This can be helpful when dealing with call forwarding. Without it, FreeSWITCH™ would drop the simultaneous dial and transfer to the forwarded extension.</p>

<p style="margin:0.4em 0px 0.5em;line-height:19.1875px;color:rgb(0,0,0);font-family:sans-serif;font-size:13px">For example, I&#39;m bridging to two SIP phones, 101 and 102, with &quot;,&quot; between them. 101 redirects to some other URL. 102 will now stop ringing. With :_: it wouldn&#39;t.</p>

<p style="margin:0.4em 0px 0.5em;line-height:19.1875px;color:rgb(0,0,0);font-family:sans-serif;font-size:13px">By default each new thread is it&#39;s own A-leg in the CDRs. You can access the variable ent_originate_aleg_uuid to put the call back together.</p>

</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:small">-Avi<br></span></div></div>
<br><br><div class="gmail_quote">On Wed, Nov 20, 2013 at 12:03 AM, Ali Pey <span dir="ltr">&lt;<a href="mailto:alipey@gmail.com" target="_blank">alipey@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">Hello,<div><br></div><div>What&#39;s the difference between pipe &#39;|&#39; and :_: in a multiple sequential bridge destinations command?</div><div><br></div><div>They both seem to do sequential calling.</div>


<div><br></div><div><br></div><div>Regards,</div><div>Ali Pey</div><div><br><img></div>
</div>
<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>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.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>
<br></blockquote></div><br></div></div>