[Freeswitch-svn] [commit] r10196 - in freeswitch/trunk/conf: . dialplan/default directory/default

Freeswitch SVN brian at freeswitch.org
Wed Oct 29 19:14:23 EDT 2008


Author: brian
Date: Wed Oct 29 19:14:22 2008
New Revision: 10196

Added:
   freeswitch/trunk/conf/directory/default/example.com.xml
      - copied unchanged from r10189, /freeswitch/trunk/conf/directory/default/provider.com.xml
Removed:
   freeswitch/trunk/conf/directory/default/provider.com.xml
Modified:
   freeswitch/trunk/conf/dialplan/default/01_provider.com.xml
   freeswitch/trunk/conf/vars.xml

Log:
fix FSCORE-211

Modified: freeswitch/trunk/conf/dialplan/default/01_provider.com.xml
==============================================================================
--- freeswitch/trunk/conf/dialplan/default/01_provider.com.xml	(original)
+++ freeswitch/trunk/conf/dialplan/default/01_provider.com.xml	Wed Oct 29 19:14:22 2008
@@ -1,6 +1,6 @@
 <include>
 
-  <extension name="local.provider.com">
+  <extension name="local.example.com">
     <condition field="${toll_allow}" expression="local"/>
     <condition field="destination_number" expression="^(\d{7})$">
       <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/>
@@ -9,7 +9,7 @@
     </condition>
   </extension>
 
-  <extension name="domestic.provider.com">
+  <extension name="domestic.example.com">
     <condition field="${toll_allow}" expression="domestic"/>
     <condition field="destination_number" expression="^(\d{11})$">
       <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/>
@@ -18,7 +18,7 @@
     </condition>
   </extension>
 
-  <extension name="international.provider.com">
+  <extension name="international.example.com">
     <condition field="${toll_allow}" expression="international"/>
     <condition field="destination_number" expression="^(011\d{10+})$">
       <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/>

Modified: freeswitch/trunk/conf/vars.xml
==============================================================================
--- freeswitch/trunk/conf/vars.xml	(original)
+++ freeswitch/trunk/conf/vars.xml	Wed Oct 29 19:14:22 2008
@@ -120,13 +120,13 @@
       Setting up your default sip provider is easy.
       Below are some values that should work in most cases.
       
-      These are for conf/directory/default/provider.com.xml
+      These are for conf/directory/default/example.com.xml
 
   -->
-  <X-PRE-PROCESS cmd="set" data="default_provider=provider.com"/>
+  <X-PRE-PROCESS cmd="set" data="default_provider=example.com"/>
   <X-PRE-PROCESS cmd="set" data="default_provider_username=joeuser"/>
   <X-PRE-PROCESS cmd="set" data="default_provider_password=password"/>
-  <X-PRE-PROCESS cmd="set" data="default_provider_from_domain=provider.com"/>
+  <X-PRE-PROCESS cmd="set" data="default_provider_from_domain=example.com"/>
   <!-- true or false -->
   <X-PRE-PROCESS cmd="set" data="default_provider_register=false"/>
   <X-PRE-PROCESS cmd="set" data="default_provider_contact=5000"/>



More information about the Freeswitch-svn mailing list