[Freeswitch-users] inbound ring group assistance
sean farrell
jungleboogie0 at gmail.com
Mon Jul 25 02:17:45 MSD 2016
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!
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list