[Freeswitch-users] Dialplan Tools: bridge - pipe vs. :_:

Avi Marcus avi at avimarcus.net
Wed Nov 20 07:40:20 MSK 2013


See: http://wiki.freeswitch.org/wiki/Freeswitch_IVR_Originate

Enterprise originate

The so called 'enterprise originate' 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 ',' or '|') as above. To add channel
variables to the entire enterprise originate use <> blocks:

originate <all_threads=true>{first_thread=true}sofia/gw/foo/bar:_:{second_thread=true}sofia/gw/foo/baz

This can be helpful when dealing with call forwarding. Without it,
FreeSWITCH™ would drop the simultaneous dial and transfer to the forwarded
extension.

For example, I'm bridging to two SIP phones, 101 and 102, with "," between
them. 101 redirects to some other URL. 102 will now stop ringing. With :_:
it wouldn't.

By default each new thread is it's own A-leg in the CDRs. You can access
the variable ent_originate_aleg_uuid to put the call back together.

-Avi


On Wed, Nov 20, 2013 at 12:03 AM, Ali Pey <alipey at gmail.com> wrote:

> Hello,
>
> What's the difference between pipe '|' and :_: in a multiple sequential
> bridge destinations command?
>
> They both seem to do sequential calling.
>
>
> Regards,
> Ali Pey
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.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/20131120/cc60a8b6/attachment-0001.html 


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