[packages] net/nufw: run of autogen.sh needed with recent versions of libtool
[openwrt/svn-archive/archive.git] / net / freeswitch / files / etc.uci / directory / default.xml
1 <!--
2 NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE
3
4 FreeSWITCH works off the concept of users and domains just like email.
5 You have users that are in domains for example 1000@domain.com.
6
7 When freeswitch gets a register packet it looks for the user in the directory
8 based on the from or to domain in the packet depending on how your sofia profile
9 is configured. Out of the box the default domain will be the IP address of the
10 machine running FreeSWITCH. This IP can be found by typing "sofia status" at the
11 CLI. You will register your phones to the IP and not the hostname by default.
12 If you wish to register using the domain please open vars.xml in the root conf
13 directory and set the default domain to the hostname you desire. Then you would
14 use the domain name in the client instead of the IP address to register
15 with FreeSWITCH.
16
17 NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE
18 -->
19
20 <include>
21 <!--the domain or ip (the right hand side of the @ in the addr-->
22 <domain name="$${domain}">
23 <params>
24 <param name="dial-string" value="{presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}"/>
25 </params>
26
27 <variables>
28 <variable name="record_stereo" value="true"/>
29 <variable name="default_gateway" value="$${default_provider}"/>
30 <variable name="default_areacode" value="$${default_areacode}"/>
31 <variable name="transfer_fallback_extension" value="operator"/>
32 </variables>
33
34 <groups>
35 <group name="default">
36 <users>
37 <X-PRE-PROCESS cmd="include" data="default/*.xml"/>
38 </users>
39 </group>
40 </groups>
41
42 </domain>
43 </include>