[Freeswitch-svn] [commit] r6281 - in freeswitch/trunk/conf: . dialplan directory lang/de

Freeswitch SVN brian at freeswitch.org
Thu Nov 15 13:21:22 EST 2007


Author: brian
Date: Thu Nov 15 13:21:22 2007
New Revision: 6281

Added:
   freeswitch/trunk/conf/lang/de/de.xml
Removed:
   freeswitch/trunk/conf/lang_de.xml
   freeswitch/trunk/conf/lang_fr.xml
   freeswitch/trunk/conf/voicemail_de_tts.xml
   freeswitch/trunk/conf/voicemail_fr.xml
Modified:
   freeswitch/trunk/conf/dialplan/default.xml
   freeswitch/trunk/conf/directory/default.xml

Log:
woops

Modified: freeswitch/trunk/conf/dialplan/default.xml
==============================================================================
--- freeswitch/trunk/conf/dialplan/default.xml	(original)
+++ freeswitch/trunk/conf/dialplan/default.xml	Thu Nov 15 13:21:22 2007
@@ -1,9 +1,16 @@
 <context name="default">
-  <extension name="global">
+  <extension name="global" continue="true">
     <condition>
       <action application="set" data="use_profile=${cond(${is_lan_addr(${network_addr})} == yes ? nat : default)}"/>
     </condition>
+    <!-- This will setup some variables if the user isn't authenticated.
+         numbering_plan is required for the demo to function properly. 
+      -->
+    <condition field="${numbering_plan}" condition="^1$">
+      <action application="set_user" data="default@${domain}"/>
+    </condition>
   </extension>
+
   <!-- 
   if the calling party is the called party, go to their VM
   if the calling party is NOT the called party dial the extension 
@@ -36,10 +43,10 @@
     </condition>                                                                                                                                               
   </extension>           
  
-  <!-- dial the freeswitch conference via IAX-->
-  <extension name="FS_Conf_IAX">
+  <!-- dial the freeswitch conference via SIP-->
+  <extension name="FS_Conf_SIP">
     <condition field="destination_number" expression="^888$">
-      <action application="bridge" data="iax/guest at conference.freeswitch.org/888"/>
+      <action application="bridge" data="sofia/default/888 at conference.freeswitch.org"/>
     </condition>
   </extension>
 

Modified: freeswitch/trunk/conf/directory/default.xml
==============================================================================
--- freeswitch/trunk/conf/directory/default.xml	(original)
+++ freeswitch/trunk/conf/directory/default.xml	Thu Nov 15 13:21:22 2007
@@ -1,6 +1,15 @@
 <!--the domain or ip (the right hand side of the @ in the addr-->
 <domain name="$${domain}">
   <!--the user id (the left hand side of the @ in the addr-->
+  <user id="default"> <!--if id is numeric mailbox param is not necessary-->
+    <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="US"/>
+      <!-- <variable name="default_area_code" value="434"/> -->
+    </variables>
+  </user>
+
   <user id="brian" mailbox="1000"> <!--if id is numeric mailbox param is not necessary-->
     <!-- Outbound Registrations Related to this user -->
     <gateways>
@@ -71,6 +80,7 @@
       <!-- insert optional compliant vcard xml here-->
     </vcard>
   </user>
+
   <!-- this is an example of a user with auth and various settings -->
   <user id="1000" mailbox="1000">
     <params>

Added: freeswitch/trunk/conf/lang/de/de.xml
==============================================================================
--- (empty file)
+++ freeswitch/trunk/conf/lang/de/de.xml	Thu Nov 15 13:21:22 2007
@@ -0,0 +1,7 @@
+<include>
+  <language name="de" sound-path="/snds" tts-engine="cepstral" tts-voice="david">
+    <X-PRE-PROCESS cmd="include" data="demo/demo.xml"/>
+    <!--voicemail_de_tts is purely implemented with tts, we need a files based implementation too -->
+    <X-PRE-PROCESS cmd="include" data="vm/tts.xml"/>
+  </language>
+</include>



More information about the Freeswitch-svn mailing list