you can’t add curly vars on transfer, thats probably failing: <action application="transfer" data="{ignore_early_media=true}2003”/> <action application="transfer" data="2003”/>
On Jul 24, 2016, at 6:17 PM, sean farrell <jungleboogie0@gmail.com> wrote:
Hi All,
I'm sure this kind of email has been answered a thousand times already, so feel free to point me to a working example.
All I want is when a call from DID 17020000000 is received, for it to ring all users on a group. Internally I can dial 2003 and all the endpoints will ring, so I think the devices are in the right group and all.
/usr/local/freeswitch/conf/dialplan/public/01_inbound_did.xml: <include> <extension name="techsupport"> <condition field="destination_number" expression="^17020000000$"> <action application="transfer" data="{ignore_early_media=true}2003"/> </condition> </extension> </include>
/usr/local/freeswitch/conf/dialplan/default.xml: <extension name="techsupport"> <condition field="destination_number" expression="^2003$"> <action application="bridge" data="${group_call(techsupport@${domain_name})}"/> </condition> </extension>
Here's an endpoint in the group that's setup:
/usr/local/freeswitch/conf/directory/default/2604.xml: <include> <user id="2604"> <variable name="callgroup" value="techsupport"/> </variables> </user> </include>
Here's trying to call the devices individually:
/usr/local/freeswitch/conf/dialplan/default/homephone.xml <extension name="ring_simultaneously"> <condition field="destination_number" expression="^(2000)$"> <action application="bridge" data="{ignore_early_media=true}sofia/internal/2604@{domain_name},sofia/internal/2600@{domain_name}"/> </condition> </extension>
tried this, too:
/usr/local/freeswitch/conf/dialplan/public/01_inbound_did.xml <include> <extension name="techsupport"> <condition field="destination_number" expression="^17020000000$"> <action application="transfer" data="ring_simultaneously XML Default"/> </condition> </extension> </include>
What am I missing and how off am I?
Thanks!
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org