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>
|
2008-09-18 20:23:06 -04:00
|
|
|
<param name="dial-string" value="{presence_id=${dialed_user}@${dialed_domain},transfer_fallback_extension=${dialed_user}}${sofia_contact(${dialed_user}@${dialed_domain})}"/>
|
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 16:58:13 -04:00
|
|
|
<variable name="default_gateway" value="asterlink.com"/>
|
|
|
|
<variable name="default_areacode" value="918"/>
|
2007-12-27 01:06:05 -05:00
|
|
|
</variables>
|
|
|
|
|
2007-12-10 12:50:12 -05:00
|
|
|
<X-PRE-PROCESS cmd="include" data="default/*.xml"/>
|
2007-12-07 15:39:05 -05:00
|
|
|
</domain>
|
|
|
|
</include>
|