First commit
This commit is contained in:
81
conf/directory/default.xml
Normal file
81
conf/directory/default.xml
Normal file
@@ -0,0 +1,81 @@
|
||||
<!--
|
||||
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
|
||||
-->
|
||||
|
||||
<include>
|
||||
<!--the domain or ip (the right hand side of the @ in the addr-->
|
||||
<domain name="$${domain}">
|
||||
<params>
|
||||
<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})}"/>
|
||||
<!-- These are required for Verto to function properly -->
|
||||
<param name="jsonrpc-allowed-methods" value="verto"/>
|
||||
<!-- <param name="jsonrpc-allowed-event-channels" value="demo,conference,presence"/> -->
|
||||
</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"/>
|
||||
</users>
|
||||
</group>
|
||||
</groups>
|
||||
|
||||
</domain>
|
||||
</include>
|
||||
18
conf/directory/default/1000.xml
Normal file
18
conf/directory/default/1000.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<include>
|
||||
<user id="1000">
|
||||
<params>
|
||||
<param name="password" value="$${default_password}"/>
|
||||
<param name="vm-password" value="1000"/>
|
||||
</params>
|
||||
<variables>
|
||||
<variable name="toll_allow" value="domestic,international,local"/>
|
||||
<variable name="accountcode" value="1000"/>
|
||||
<variable name="user_context" value="default"/>
|
||||
<variable name="effective_caller_id_name" value="Extension 1000"/>
|
||||
<variable name="effective_caller_id_number" value="1000"/>
|
||||
<variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/>
|
||||
<variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/>
|
||||
<variable name="callgroup" value="techsupport"/>
|
||||
</variables>
|
||||
</user>
|
||||
</include>
|
||||
18
conf/directory/default/1001.xml
Normal file
18
conf/directory/default/1001.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<include>
|
||||
<user id="1001">
|
||||
<params>
|
||||
<param name="password" value="$${default_password}"/>
|
||||
<param name="vm-password" value="1001"/>
|
||||
</params>
|
||||
<variables>
|
||||
<variable name="toll_allow" value="domestic,international,local"/>
|
||||
<variable name="accountcode" value="1001"/>
|
||||
<variable name="user_context" value="default"/>
|
||||
<variable name="effective_caller_id_name" value="Extension 1001"/>
|
||||
<variable name="effective_caller_id_number" value="1001"/>
|
||||
<variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/>
|
||||
<variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/>
|
||||
<variable name="callgroup" value="techsupport"/>
|
||||
</variables>
|
||||
</user>
|
||||
</include>
|
||||
18
conf/directory/default/1002.xml
Normal file
18
conf/directory/default/1002.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<include>
|
||||
<user id="1002">
|
||||
<params>
|
||||
<param name="password" value="$${default_password}"/>
|
||||
<param name="vm-password" value="1002"/>
|
||||
</params>
|
||||
<variables>
|
||||
<variable name="toll_allow" value="domestic,international,local"/>
|
||||
<variable name="accountcode" value="1002"/>
|
||||
<variable name="user_context" value="default"/>
|
||||
<variable name="effective_caller_id_name" value="Extension 1002"/>
|
||||
<variable name="effective_caller_id_number" value="1002"/>
|
||||
<variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/>
|
||||
<variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/>
|
||||
<variable name="callgroup" value="techsupport"/>
|
||||
</variables>
|
||||
</user>
|
||||
</include>
|
||||
18
conf/directory/default/1003.xml
Normal file
18
conf/directory/default/1003.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<include>
|
||||
<user id="1003">
|
||||
<params>
|
||||
<param name="password" value="$${default_password}"/>
|
||||
<param name="vm-password" value="1003"/>
|
||||
</params>
|
||||
<variables>
|
||||
<variable name="toll_allow" value="domestic,international,local"/>
|
||||
<variable name="accountcode" value="1003"/>
|
||||
<variable name="user_context" value="default"/>
|
||||
<variable name="effective_caller_id_name" value="Extension 1003"/>
|
||||
<variable name="effective_caller_id_number" value="1003"/>
|
||||
<variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/>
|
||||
<variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/>
|
||||
<variable name="callgroup" value="techsupport"/>
|
||||
</variables>
|
||||
</user>
|
||||
</include>
|
||||
18
conf/directory/default/1004.xml
Normal file
18
conf/directory/default/1004.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<include>
|
||||
<user id="1004">
|
||||
<params>
|
||||
<param name="password" value="$${default_password}"/>
|
||||
<param name="vm-password" value="1004"/>
|
||||
</params>
|
||||
<variables>
|
||||
<variable name="toll_allow" value="domestic,international,local"/>
|
||||
<variable name="accountcode" value="1004"/>
|
||||
<variable name="user_context" value="default"/>
|
||||
<variable name="effective_caller_id_name" value="Extension 1004"/>
|
||||
<variable name="effective_caller_id_number" value="1004"/>
|
||||
<variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/>
|
||||
<variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/>
|
||||
<variable name="callgroup" value="techsupport"/>
|
||||
</variables>
|
||||
</user>
|
||||
</include>
|
||||
18
conf/directory/default/1005.xml
Normal file
18
conf/directory/default/1005.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<include>
|
||||
<user id="1005">
|
||||
<params>
|
||||
<param name="password" value="$${default_password}"/>
|
||||
<param name="vm-password" value="1005"/>
|
||||
</params>
|
||||
<variables>
|
||||
<variable name="toll_allow" value="domestic,international,local"/>
|
||||
<variable name="accountcode" value="1005"/>
|
||||
<variable name="user_context" value="default"/>
|
||||
<variable name="effective_caller_id_name" value="Extension 1005"/>
|
||||
<variable name="effective_caller_id_number" value="1005"/>
|
||||
<variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/>
|
||||
<variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/>
|
||||
<variable name="callgroup" value="techsupport"/>
|
||||
</variables>
|
||||
</user>
|
||||
</include>
|
||||
18
conf/directory/default/1006.xml
Normal file
18
conf/directory/default/1006.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<include>
|
||||
<user id="1006">
|
||||
<params>
|
||||
<param name="password" value="$${default_password}"/>
|
||||
<param name="vm-password" value="1006"/>
|
||||
</params>
|
||||
<variables>
|
||||
<variable name="toll_allow" value="domestic,international,local"/>
|
||||
<variable name="accountcode" value="1006"/>
|
||||
<variable name="user_context" value="default"/>
|
||||
<variable name="effective_caller_id_name" value="Extension 1006"/>
|
||||
<variable name="effective_caller_id_number" value="1006"/>
|
||||
<variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/>
|
||||
<variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/>
|
||||
<variable name="callgroup" value="techsupport"/>
|
||||
</variables>
|
||||
</user>
|
||||
</include>
|
||||
18
conf/directory/default/1007.xml
Normal file
18
conf/directory/default/1007.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<include>
|
||||
<user id="1007">
|
||||
<params>
|
||||
<param name="password" value="$${default_password}"/>
|
||||
<param name="vm-password" value="1007"/>
|
||||
</params>
|
||||
<variables>
|
||||
<variable name="toll_allow" value="domestic,international,local"/>
|
||||
<variable name="accountcode" value="1007"/>
|
||||
<variable name="user_context" value="default"/>
|
||||
<variable name="effective_caller_id_name" value="Extension 1007"/>
|
||||
<variable name="effective_caller_id_number" value="1007"/>
|
||||
<variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/>
|
||||
<variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/>
|
||||
<variable name="callgroup" value="techsupport"/>
|
||||
</variables>
|
||||
</user>
|
||||
</include>
|
||||
18
conf/directory/default/1008.xml
Normal file
18
conf/directory/default/1008.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<include>
|
||||
<user id="1008">
|
||||
<params>
|
||||
<param name="password" value="$${default_password}"/>
|
||||
<param name="vm-password" value="1008"/>
|
||||
</params>
|
||||
<variables>
|
||||
<variable name="toll_allow" value="domestic,international,local"/>
|
||||
<variable name="accountcode" value="1008"/>
|
||||
<variable name="user_context" value="default"/>
|
||||
<variable name="effective_caller_id_name" value="Extension 1008"/>
|
||||
<variable name="effective_caller_id_number" value="1008"/>
|
||||
<variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/>
|
||||
<variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/>
|
||||
<variable name="callgroup" value="techsupport"/>
|
||||
</variables>
|
||||
</user>
|
||||
</include>
|
||||
18
conf/directory/default/1009.xml
Normal file
18
conf/directory/default/1009.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<include>
|
||||
<user id="1009">
|
||||
<params>
|
||||
<param name="password" value="$${default_password}"/>
|
||||
<param name="vm-password" value="1009"/>
|
||||
</params>
|
||||
<variables>
|
||||
<variable name="toll_allow" value="domestic,international,local"/>
|
||||
<variable name="accountcode" value="1009"/>
|
||||
<variable name="user_context" value="default"/>
|
||||
<variable name="effective_caller_id_name" value="Extension 1009"/>
|
||||
<variable name="effective_caller_id_number" value="1009"/>
|
||||
<variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/>
|
||||
<variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/>
|
||||
<variable name="callgroup" value="techsupport"/>
|
||||
</variables>
|
||||
</user>
|
||||
</include>
|
||||
18
conf/directory/default/1010.xml
Normal file
18
conf/directory/default/1010.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<include>
|
||||
<user id="1010">
|
||||
<params>
|
||||
<param name="password" value="$${default_password}"/>
|
||||
<param name="vm-password" value="1010"/>
|
||||
</params>
|
||||
<variables>
|
||||
<variable name="toll_allow" value="domestic,international,local"/>
|
||||
<variable name="accountcode" value="1010"/>
|
||||
<variable name="user_context" value="default"/>
|
||||
<variable name="effective_caller_id_name" value="Extension 1010"/>
|
||||
<variable name="effective_caller_id_number" value="1010"/>
|
||||
<variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/>
|
||||
<variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/>
|
||||
<variable name="callgroup" value="techsupport"/>
|
||||
</variables>
|
||||
</user>
|
||||
</include>
|
||||
18
conf/directory/default/1011.xml
Normal file
18
conf/directory/default/1011.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<include>
|
||||
<user id="1011">
|
||||
<params>
|
||||
<param name="password" value="$${default_password}"/>
|
||||
<param name="vm-password" value="1011"/>
|
||||
</params>
|
||||
<variables>
|
||||
<variable name="toll_allow" value="domestic,international,local"/>
|
||||
<variable name="accountcode" value="1011"/>
|
||||
<variable name="user_context" value="default"/>
|
||||
<variable name="effective_caller_id_name" value="Extension 1011"/>
|
||||
<variable name="effective_caller_id_number" value="1011"/>
|
||||
<variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/>
|
||||
<variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/>
|
||||
<variable name="callgroup" value="techsupport"/>
|
||||
</variables>
|
||||
</user>
|
||||
</include>
|
||||
18
conf/directory/default/1012.xml
Normal file
18
conf/directory/default/1012.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<include>
|
||||
<user id="1012">
|
||||
<params>
|
||||
<param name="password" value="$${default_password}"/>
|
||||
<param name="vm-password" value="1012"/>
|
||||
</params>
|
||||
<variables>
|
||||
<variable name="toll_allow" value="domestic,international,local"/>
|
||||
<variable name="accountcode" value="1012"/>
|
||||
<variable name="user_context" value="default"/>
|
||||
<variable name="effective_caller_id_name" value="Extension 1012"/>
|
||||
<variable name="effective_caller_id_number" value="1012"/>
|
||||
<variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/>
|
||||
<variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/>
|
||||
<variable name="callgroup" value="techsupport"/>
|
||||
</variables>
|
||||
</user>
|
||||
</include>
|
||||
18
conf/directory/default/1013.xml
Normal file
18
conf/directory/default/1013.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<include>
|
||||
<user id="1013">
|
||||
<params>
|
||||
<param name="password" value="$${default_password}"/>
|
||||
<param name="vm-password" value="1013"/>
|
||||
</params>
|
||||
<variables>
|
||||
<variable name="toll_allow" value="domestic,international,local"/>
|
||||
<variable name="accountcode" value="1013"/>
|
||||
<variable name="user_context" value="default"/>
|
||||
<variable name="effective_caller_id_name" value="Extension 1013"/>
|
||||
<variable name="effective_caller_id_number" value="1013"/>
|
||||
<variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/>
|
||||
<variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/>
|
||||
<variable name="callgroup" value="techsupport"/>
|
||||
</variables>
|
||||
</user>
|
||||
</include>
|
||||
18
conf/directory/default/1014.xml
Normal file
18
conf/directory/default/1014.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<include>
|
||||
<user id="1014">
|
||||
<params>
|
||||
<param name="password" value="$${default_password}"/>
|
||||
<param name="vm-password" value="1014"/>
|
||||
</params>
|
||||
<variables>
|
||||
<variable name="toll_allow" value="domestic,international,local"/>
|
||||
<variable name="accountcode" value="1014"/>
|
||||
<variable name="user_context" value="default"/>
|
||||
<variable name="effective_caller_id_name" value="Extension 1014"/>
|
||||
<variable name="effective_caller_id_number" value="1014"/>
|
||||
<variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/>
|
||||
<variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/>
|
||||
<variable name="callgroup" value="techsupport"/>
|
||||
</variables>
|
||||
</user>
|
||||
</include>
|
||||
18
conf/directory/default/1015.xml
Normal file
18
conf/directory/default/1015.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<include>
|
||||
<user id="1015">
|
||||
<params>
|
||||
<param name="password" value="$${default_password}"/>
|
||||
<param name="vm-password" value="1015"/>
|
||||
</params>
|
||||
<variables>
|
||||
<variable name="toll_allow" value="domestic,international,local"/>
|
||||
<variable name="accountcode" value="1015"/>
|
||||
<variable name="user_context" value="default"/>
|
||||
<variable name="effective_caller_id_name" value="Extension 1015"/>
|
||||
<variable name="effective_caller_id_number" value="1015"/>
|
||||
<variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/>
|
||||
<variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/>
|
||||
<variable name="callgroup" value="techsupport"/>
|
||||
</variables>
|
||||
</user>
|
||||
</include>
|
||||
18
conf/directory/default/1016.xml
Normal file
18
conf/directory/default/1016.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<include>
|
||||
<user id="1016">
|
||||
<params>
|
||||
<param name="password" value="$${default_password}"/>
|
||||
<param name="vm-password" value="1016"/>
|
||||
</params>
|
||||
<variables>
|
||||
<variable name="toll_allow" value="domestic,international,local"/>
|
||||
<variable name="accountcode" value="1016"/>
|
||||
<variable name="user_context" value="default"/>
|
||||
<variable name="effective_caller_id_name" value="Extension 1016"/>
|
||||
<variable name="effective_caller_id_number" value="1016"/>
|
||||
<variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/>
|
||||
<variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/>
|
||||
<variable name="callgroup" value="techsupport"/>
|
||||
</variables>
|
||||
</user>
|
||||
</include>
|
||||
18
conf/directory/default/1017.xml
Normal file
18
conf/directory/default/1017.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<include>
|
||||
<user id="1017">
|
||||
<params>
|
||||
<param name="password" value="$${default_password}"/>
|
||||
<param name="vm-password" value="1017"/>
|
||||
</params>
|
||||
<variables>
|
||||
<variable name="toll_allow" value="domestic,international,local"/>
|
||||
<variable name="accountcode" value="1017"/>
|
||||
<variable name="user_context" value="default"/>
|
||||
<variable name="effective_caller_id_name" value="Extension 1017"/>
|
||||
<variable name="effective_caller_id_number" value="1017"/>
|
||||
<variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/>
|
||||
<variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/>
|
||||
<variable name="callgroup" value="techsupport"/>
|
||||
</variables>
|
||||
</user>
|
||||
</include>
|
||||
18
conf/directory/default/1018.xml
Normal file
18
conf/directory/default/1018.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<include>
|
||||
<user id="1018">
|
||||
<params>
|
||||
<param name="password" value="$${default_password}"/>
|
||||
<param name="vm-password" value="1018"/>
|
||||
</params>
|
||||
<variables>
|
||||
<variable name="toll_allow" value="domestic,international,local"/>
|
||||
<variable name="accountcode" value="1018"/>
|
||||
<variable name="user_context" value="default"/>
|
||||
<variable name="effective_caller_id_name" value="Extension 1018"/>
|
||||
<variable name="effective_caller_id_number" value="1018"/>
|
||||
<variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/>
|
||||
<variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/>
|
||||
<variable name="callgroup" value="techsupport"/>
|
||||
</variables>
|
||||
</user>
|
||||
</include>
|
||||
18
conf/directory/default/1019.xml
Normal file
18
conf/directory/default/1019.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<include>
|
||||
<user id="1019">
|
||||
<params>
|
||||
<param name="password" value="$${default_password}"/>
|
||||
<param name="vm-password" value="1019"/>
|
||||
</params>
|
||||
<variables>
|
||||
<variable name="toll_allow" value="domestic,international,local"/>
|
||||
<variable name="accountcode" value="1019"/>
|
||||
<variable name="user_context" value="default"/>
|
||||
<variable name="effective_caller_id_name" value="Extension 1019"/>
|
||||
<variable name="effective_caller_id_number" value="1019"/>
|
||||
<variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/>
|
||||
<variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/>
|
||||
<variable name="callgroup" value="techsupport"/>
|
||||
</variables>
|
||||
</user>
|
||||
</include>
|
||||
92
conf/directory/default/brian.xml
Normal file
92
conf/directory/default/brian.xml
Normal file
@@ -0,0 +1,92 @@
|
||||
<include>
|
||||
<!--
|
||||
ipauth if you have an cidr= in the user attributes ie cidr="1.2.3.4/32"
|
||||
see <node type="allow" domain="$${domain}"/> in default acl.conf.xml
|
||||
-->
|
||||
<user id="brian" cidr="192.0.2.0/24">
|
||||
<!-- Outbound Registrations Related to this user -->
|
||||
<gateways>
|
||||
<!--<gateway name="asterlink.com">-->
|
||||
<!--/// account username *required* ///-->
|
||||
<!--<param name="username" value="cluecon"/>-->
|
||||
<!--/// auth realm: *optional* same as gateway name, if blank ///-->
|
||||
<!--<param name="realm" value="asterlink.com"/>-->
|
||||
<!--/// username to use in from: *optional* same as username, if blank ///-->
|
||||
<!--<param name="from-user" value="cluecon"/>-->
|
||||
<!--/// domain to use in from: *optional* same as realm, if blank ///-->
|
||||
<!--<param name="from-domain" value="asterlink.com"/>-->
|
||||
<!--/// account password *required* ///-->
|
||||
<!--<param name="password" value="2007"/>-->
|
||||
<!--/// replace the INVITE from user with the channel's caller-id ///-->
|
||||
<!--<param name="caller-id-in-from" value="false"/>-->
|
||||
<!--/// extension for inbound calls: *optional* same as username, if blank ///-->
|
||||
<!--<param name="extension" value="cluecon"/>-->
|
||||
<!--/// proxy host: *optional* same as realm, if blank ///-->
|
||||
<!--<param name="proxy" value="asterlink.com"/>-->
|
||||
<!--/// send register to this proxy: *optional* same as proxy, if blank ///-->
|
||||
<!--<param name="register-proxy" value="mysbc.com"/>-->
|
||||
<!--/// expire in seconds: *optional* 3600, if blank ///-->
|
||||
<!--<param name="expire-seconds" value="60"/>-->
|
||||
<!--/// do not register ///-->
|
||||
<!--<param name="register" value="false"/>-->
|
||||
<!-- which transport to use for register -->
|
||||
<!--<param name="register-transport" value="udp"/>-->
|
||||
<!--How many seconds before a retry when a failure or timeout occurs -->
|
||||
<!--<param name="retry-seconds" value="30"/>-->
|
||||
<!--Use the callerid of an inbound call in the from field on outbound calls via this gateway -->
|
||||
<!--<param name="caller-id-in-from" value="false"/>-->
|
||||
<!--extra sip params to send in the contact-->
|
||||
<!--<param name="contact-params" value=""/>-->
|
||||
<!--send an options ping every x seconds, failure will unregister and/or mark it down-->
|
||||
<!--<param name="ping" value="25"/>-->
|
||||
<!--</gateway>-->
|
||||
</gateways>
|
||||
<params>
|
||||
<!-- omit password for authless registration -->
|
||||
<param name="password" value="$${default_password}"/>
|
||||
<param name="vm-password" value="9999"/><!--if vm-password is omitted password param is used-->
|
||||
<!--<param name="email-addr" value="me@mydomain.com"/>-->
|
||||
<!--<param name="vm-delete-file" value="true"/>-->
|
||||
<!--<param name="vm-attach-file" value="true"/>-->
|
||||
<!--<param name="vm-mailto" value="me@mydomain.com"/>-->
|
||||
<!--<param name="vm-email-all-messages" value="true"/>-->
|
||||
<!-- optionally use this instead if you want to store the hash of user:domain:pass-->
|
||||
<!--<param name="a1-hash" value="c6440e5de50b403206989679159de89a"/>-->
|
||||
<!-- What this user is allowed to acces -->
|
||||
<!--<param name="http-allowed-api" value="jsapi,voicemail,status"/> -->
|
||||
</params>
|
||||
<variables>
|
||||
<!--all variables here will be set on all inbound calls that originate from this user -->
|
||||
<variable name="user_context" value="default"/>
|
||||
<variable name="effective_caller_id_name" value="Brian West"/>
|
||||
<variable name="effective_caller_id_number" value="1000"/>
|
||||
<!-- Don't write a CDR if this is false valid values are: true, false, a_leg and b_leg -->
|
||||
<variable name="process_cdr" value="true"/>
|
||||
<!-- rtp_secure_media will offer mandatory SRTP on invite AES_CM_128_HMAC_SHA1_32, AES_CM_128_HMAC_SHA1_80 or true-->
|
||||
<variable name="rtp_secure_media" value="true"/>
|
||||
<!-- limit the max number of outgoing calls for this user -->
|
||||
<!--<variable name="max_calls" value="2"/>-->
|
||||
|
||||
<!-- send presence information if FS is configured to do so -->
|
||||
<!--<variable name="presence_id" value="1000@$${domain}"/>-->
|
||||
|
||||
<!-- set these to take advantage of a dialplan localized to this user -->
|
||||
<!--<variable name="numbering_plan" value="US"/>-->
|
||||
<!--<variable name="default_area_code" value="434"/>-->
|
||||
<!--<variable name="default_gateway" value="asterlink.com"/>-->
|
||||
<!--
|
||||
NDLB-connectile-dysfunction - Rewrite contact ip and port
|
||||
NDLB-tls-connectile-dysfunction - Rewrite contact port only.
|
||||
-->
|
||||
<!--<variable name="sip-force-contact" value="NDLB-connectile-dysfunction"/>-->
|
||||
<!--<variable name="sip-force-expires" value="10"/>-->
|
||||
<!--<variable name="sip-register-gateway" value="cluecon.com"/>-->
|
||||
<!-- Set the file format for a specific user -->
|
||||
<!--<variable name="vm_message_ext" value="mp3"/> -->
|
||||
</variables>
|
||||
|
||||
<vcard>
|
||||
<!-- insert optional compliant vcard xml here-->
|
||||
</vcard>
|
||||
</user>
|
||||
</include>
|
||||
26
conf/directory/default/default.xml
Normal file
26
conf/directory/default/default.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<include>
|
||||
<user id="default"> <!--if id is numeric mailbox param is not necessary-->
|
||||
<!--
|
||||
ATTENTION PLEASE READ THIS... (I know you won't but you've been warned)
|
||||
|
||||
Let it be known that this user can register without a password but since we do not assign
|
||||
this user a user_context and we don't authenticate this user they will be put in context 'public'.
|
||||
|
||||
This isn't a security issue as the endpoint would be put into the same context 'public' as the
|
||||
sofia profile that starts on 5080 by default. If you're paranoid just remove this file and
|
||||
remove the external profile also.
|
||||
|
||||
If you're this paranoid you might wanna go buy some more tinfoil and disconnect from the internets.
|
||||
|
||||
Cuz we all know the internets is for pr0n anyway.
|
||||
|
||||
-->
|
||||
<variables>
|
||||
<!--all variables here will be set on all inbound calls that originate from this user -->
|
||||
<!-- set these to take advantage of a dialplan localized to this user -->
|
||||
<variable name="numbering_plan" value="$${default_country}"/>
|
||||
<variable name="default_areacode" value="$${default_areacode}"/>
|
||||
<variable name="default_gateway" value="$${default_provider}"/>
|
||||
</variables>
|
||||
</user>
|
||||
</include>
|
||||
26
conf/directory/default/example.com.xml
Normal file
26
conf/directory/default/example.com.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<!--
|
||||
Shell provider account should work with most providers.
|
||||
|
||||
-->
|
||||
<include>
|
||||
<user id="$${default_provider}">
|
||||
<gateways>
|
||||
<gateway name="$${default_provider}">
|
||||
<param name="username" value="$${default_provider_username}"/>
|
||||
<param name="password" value="$${default_provider_password}"/>
|
||||
<param name="from-user" value="$${default_provider_username}"/>
|
||||
<param name="from-domain" value="$${default_provider_from_domain}"/>
|
||||
<param name="expire-seconds" value="600"/>
|
||||
<param name="register" value="$${default_provider_register}"/>
|
||||
<param name="retry-seconds" value="30"/>
|
||||
<param name="extension" value="$${default_provider_contact}"/>
|
||||
<!--<param name="contact-params" value="domain_name=$${domain}"/>-->
|
||||
<param name="context" value="public"/>
|
||||
</gateway>
|
||||
</gateways>
|
||||
<params>
|
||||
<param name="password" value="$${default_provider_password}"/>
|
||||
</params>
|
||||
</user>
|
||||
</include>
|
||||
|
||||
35
conf/directory/default/skinny-example.xml
Normal file
35
conf/directory/default/skinny-example.xml
Normal file
@@ -0,0 +1,35 @@
|
||||
<include>
|
||||
<user id="SEP001120AABBCC">
|
||||
<params>
|
||||
<!-- for devices requesting firmware via SCCP, like ATA186
|
||||
<param name="skinny-firmware-version" value="ATA030101SCCP04"
|
||||
<param name="skinny-soft-key-set-set" value="default"
|
||||
-->
|
||||
<param name="foo" value="bar"/>
|
||||
</params>
|
||||
<skinny>
|
||||
<buttons>
|
||||
<!--
|
||||
position: 1..
|
||||
type: one of line, speed-dial
|
||||
label: button label
|
||||
-->
|
||||
<!--
|
||||
value is the directory number (or user)
|
||||
caller-name is shown to the calling party during call
|
||||
-->
|
||||
<button position="1" type="Line" label="Line 1" value="1101" caller-name="Calling as 1101"/>
|
||||
<button position="3" type="Line" label="Shared Line 10" value="1110" caller-name="Calling as 1110"/>
|
||||
<!--
|
||||
value is the directory number to call
|
||||
-->
|
||||
<button position="5" type="SpeedDial" label="Call 1001" value="1001"/>
|
||||
<!--
|
||||
value is the URL
|
||||
-->
|
||||
<button position="6" type="ServiceUrl" label="Some URL" value="http://phone-xml.berbee.com/menu.xml"/>
|
||||
</buttons>
|
||||
</skinny>
|
||||
</user>
|
||||
</include>
|
||||
|
||||
Reference in New Issue
Block a user