[Freeswitch-users] problem when adding more extension
Tzury Bar Yochay
tzury.by at reguluslabs.com
Wed Aug 12 02:50:52 PDT 2009
still not working, I mean, I can initiate a call from 1060 to 1000 but
not from 1000 to 1060.
1060 is just an example. This applies to all new extension I have
added (beyond to the default 1000-1019).
as you can see below I added them all to <group name="support">
This is how the confs look like
/usr/local/freeswitch/conf/directory# cat default.xml
<include>
<!--the domain or ip (the right hand side of the @ in the addr-->
<domain name="$${domain}">
<params>
<param name="dial-string"
value="{presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}"/>
</params>
<variables>
<variable name="record_stereo" value="true"/>
<variable name="default_gateway" value="$${default_provider}"/>
<variable name="default_areacode" value="$${default_areacode}"/>
<variable name="transfer_fallback_extension" value="operator"/>
</variables>
<groups>
<group name="default">
<users>
<X-PRE-PROCESS cmd="include" data="default/*.xml"/>
</users>
</group>
<group name="sales">
<users>
<!--
type="pointer" is a pointer so you can have the
same user in multiple groups. It basically means
to keep searching for the user in the directory.
-->
<user id="1000" type="pointer"/>
<user id="1001" type="pointer"/>
<user id="1002" type="pointer"/>
<user id="1003" type="pointer"/>
<user id="1004" type="pointer"/>
</users>
</group>
<group name="billing">
<users>
<user id="1005" type="pointer"/>
<user id="1006" type="pointer"/>
<user id="1007" type="pointer"/>
<user id="1008" type="pointer"/>
<user id="1009" type="pointer"/>
</users>
</group>
<group name="support">
<users>
<user id="1010" type="pointer"/>
<user id="1011" type="pointer"/>
<user id="1012" type="pointer"/>
<user id="1013" type="pointer"/>
<user id="1014" type="pointer"/>
<user id="1015" type="pointer"/>
<user id="1016" type="pointer"/>
<user id="1017" type="pointer"/>
<user id="1018" type="pointer"/>
<user id="1019" type="pointer"/>
<user id="1020" type="pointer"/>
<user id="1050" type="pointer"/>
<user id="1051" type="pointer"/>
<user id="1052" type="pointer"/>
<user id="1053" type="pointer"/>
<user id="1054" type="pointer"/>
<user id="1055" type="pointer"/>
<user id="1056" type="pointer"/>
<user id="1057" type="pointer"/>
<user id="1058" type="pointer"/>
<user id="1059" type="pointer"/>
<user id="1060" type="pointer"/>
<user id="1061" type="pointer"/>
<user id="1062" type="pointer"/>
<user id="1063" type="pointer"/>
</users>
</group>
</groups>
</domain>
</include>
and the xml files under directory/default
root at snoip-srv-001:/usr/local/freeswitch/conf/directory/default# ls -l
total 164
-rw-r--r-- 1 root root 750 2009-07-21 19:44 1000.xml
-rw-r--r-- 1 root root 750 2009-07-20 23:47 1001.xml
-rw-r--r-- 1 root root 750 2009-07-20 23:47 1002.xml
-rw-r--r-- 1 root root 750 2009-07-20 23:47 1003.xml
-rw-r--r-- 1 root root 750 2009-07-20 23:47 1004.xml
-rw-r--r-- 1 root root 750 2009-07-20 23:47 1005.xml
-rw-r--r-- 1 root root 750 2009-07-20 23:47 1006.xml
-rw-r--r-- 1 root root 750 2009-07-20 23:47 1007.xml
-rw-r--r-- 1 root root 750 2009-07-20 23:47 1008.xml
-rw-r--r-- 1 root root 750 2009-07-20 23:47 1009.xml
-rw-r--r-- 1 root root 750 2009-07-20 23:47 1010.xml
-rw-r--r-- 1 root root 750 2009-07-20 23:47 1011.xml
-rw-r--r-- 1 root root 750 2009-07-20 23:47 1012.xml
-rw-r--r-- 1 root root 750 2009-07-20 23:47 1013.xml
-rw-r--r-- 1 root root 750 2009-07-20 23:47 1014.xml
-rw-r--r-- 1 root root 750 2009-07-20 23:47 1015.xml
-rw-r--r-- 1 root root 750 2009-07-20 23:47 1016.xml
-rw-r--r-- 1 root root 750 2009-07-20 23:47 1017.xml
-rw-r--r-- 1 root root 750 2009-07-20 23:47 1018.xml
-rw-r--r-- 1 root root 750 2009-07-20 23:47 1019.xml
-rw-r--r-- 1 root root 750 2009-08-12 06:49 1020.xml
-rw-r--r-- 1 root root 750 2009-07-27 13:14 1050.xml
-rw-r--r-- 1 root root 750 2009-07-27 13:14 1051.xml
-rw-r--r-- 1 root root 750 2009-07-27 13:14 1052.xml
-rw-r--r-- 1 root root 750 2009-08-06 08:59 1053.xml
-rw-r--r-- 1 root root 750 2009-08-11 09:56 1054.xml
-rw-r--r-- 1 root root 750 2009-08-11 09:56 1055.xml
-rw-r--r-- 1 root root 750 2009-08-11 09:56 1056.xml
-rw-r--r-- 1 root root 750 2009-08-11 09:56 1057.xml
-rw-r--r-- 1 root root 750 2009-08-11 09:57 1058.xml
-rw-r--r-- 1 root root 750 2009-08-11 09:57 1059.xml
-rw-r--r-- 1 root root 750 2009-08-11 09:57 1060.xml
-rw-r--r-- 1 root root 750 2009-08-11 09:57 1061.xml
-rw-r--r-- 1 root root 750 2009-08-11 09:57 1062.xml
-rw-r--r-- 1 root root 750 2009-08-11 09:58 1063.xml
-rw-r--r-- 1 root root 750 2009-08-11 10:10 1064.xml
-rw-r--r-- 1 root root 750 2009-08-11 10:12 1065.xml
-rw-r--r-- 1 root root 5029 2009-07-20 23:47 brian.xml
-rw-r--r-- 1 root root 526 2009-07-20 23:47 default.xml
-rw-r--r-- 1 root root 905 2009-07-20 23:47 example.com.xml
More information about the FreeSWITCH-users
mailing list