[Freeswitch-users] dialing multiple destinations simultaneously in lua

Vincent Xia gmangudai at gmail.com
Fri May 16 14:22:47 MSD 2014


here is what the wiki says about how to dial multiple destinations
simultaneously:

“Multiple destinations in outbound calls. This means any dialstring
may contain a '|' and/or ',' separated list of call URLs. The "|"
calls one call at a time, the "," calls multiple calls simultaneously.
The example below will call 2 locations and connects the first to answer

<extension name="3002">
  <condition field="destination_number" expression="^3002$">
    <action application="bridge"
data="iax/guest at somebox/1234,sofia/test-int/1000 at somehost"/>
  </condition>
</extension>”

so my question is what's the equivalent of doing something like

<action application="bridge" data="user/1001, user/1002"/>

in lua script? though i wonder if it's possible cuz someone has said
the scripts are not asynchronous, they work in

blocked mode so the calls will have to be made one after another, not
simultaneously.



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