2008-09-29 01:23:28 -04:00
|
|
|
<!--
|
|
|
|
NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE
|
|
|
|
|
|
|
|
FreeSWITCH works off the concept of users and domains just like email.
|
|
|
|
You have users that are in domains for example 1000@domain.com.
|
|
|
|
|
|
|
|
When freeswitch gets a register packet it looks for the user in the directory
|
|
|
|
based on the from or to domain in the packet depending on how your sofia profile
|
|
|
|
is configured. Out of the box the default domain will be the IP address of the
|
|
|
|
machine running FreeSWITCH. This IP can be found by typing "sofia status" at the
|
|
|
|
CLI. You will register your phones to the IP and not the hostname by default.
|
|
|
|
If you wish to register using the domain please open vars.xml in the root conf
|
|
|
|
directory and set the default domain to the hostname you desire. Then you would
|
|
|
|
use the domain name in the client instead of the IP address to register
|
|
|
|
with FreeSWITCH.
|
|
|
|
|
|
|
|
NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE
|
|
|
|
-->
|
|
|
|
|
2007-12-07 15:39:05 -05:00
|
|
|
<include>
|
|
|
|
<!--the domain or ip (the right hand side of the @ in the addr-->
|
|
|
|
<domain name="$${domain}">
|
2007-12-11 18:03:45 -05:00
|
|
|
<params>
|
2015-11-18 12:23:59 -05:00
|
|
|
<param name="dial-string" value="{^^:sip_invite_domain=${dialed_domain}:presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(*/${dialed_user}@${dialed_domain})},${verto_contact(${dialed_user}@${dialed_domain})}"/>
|
2014-07-25 16:54:37 -04:00
|
|
|
<!-- These are required for Verto to function properly -->
|
2015-04-24 12:18:21 -04:00
|
|
|
<param name="jsonrpc-allowed-methods" value="verto"/>
|
2014-07-25 16:54:37 -04:00
|
|
|
<!-- <param name="jsonrpc-allowed-event-channels" value="demo,conference,presence"/> -->
|
2007-12-11 18:03:45 -05:00
|
|
|
</params>
|
|
|
|
|
2007-12-27 01:06:05 -05:00
|
|
|
<variables>
|
|
|
|
<variable name="record_stereo" value="true"/>
|
2008-09-29 17:30:11 -04:00
|
|
|
<variable name="default_gateway" value="$${default_provider}"/>
|
|
|
|
<variable name="default_areacode" value="$${default_areacode}"/>
|
2008-10-10 21:02:30 -04:00
|
|
|
<variable name="transfer_fallback_extension" value="operator"/>
|
2007-12-27 01:06:05 -05:00
|
|
|
</variables>
|
|
|
|
|
2008-12-23 12:45:47 -05:00
|
|
|
<groups>
|
|
|
|
<group name="default">
|
|
|
|
<users>
|
|
|
|
<X-PRE-PROCESS cmd="include" data="default/*.xml"/>
|
|
|
|
</users>
|
|
|
|
</group>
|
|
|
|
|
|
|
|
<group name="sales">
|
|
|
|
<users>
|
2008-12-23 14:53:35 -05:00
|
|
|
<!--
|
|
|
|
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.
|
|
|
|
-->
|
2008-12-23 12:45:47 -05:00
|
|
|
<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"/>
|
|
|
|
</users>
|
|
|
|
</group>
|
|
|
|
</groups>
|
2008-10-10 21:02:30 -04:00
|
|
|
|
2007-12-07 15:39:05 -05:00
|
|
|
</domain>
|
|
|
|
</include>
|