[Freeswitch-users] Enterprise bridge, groups and "follow me" dialplan

Dmitry Bely dmitry.bely at gmail.com
Sat Feb 19 20:05:02 MSK 2011


I am trying to implement the following bridging scenario:

<action application="set" data="call_timeout=30"/>
<action application="bridge"
data="group/group1 at domain,[leg_delay_start=10]group/group2 at domain"/>
...

i.e. all phones in group1 should ring for 10 seconds and if nobody
answers group1+group2 rings for additional 20 seconds.

That almost works, but only the first phone rings in either group:
[WARNING] switch_ivr_originate.c:2339 Only calling the first element
in the list in this mode.

Surely I need enterprise bridge:

<action application="bridge"
data="group/group1 at domain:_:[leg_delay_start=10]group/group2 at domain"/>

but now there is no correct caller id and no leg delay. Caller id can
be restored with:

<action application="bridge" data="
  <origination_caller_id_name=${caller_id_name},origination_caller_id_number=${caller_id_number}>
  group/group1 at domain:_:[leg_delay_start=10]group/group2 at domain"/>

(is this a bug or design decision?), but what to do with leg delay?
[leg_delay_start=10] is simply ignored there.

- Dmitry Bely



More information about the FreeSWITCH-users mailing list