[Freeswitch-svn] [commit] r5936 - freeswitch/trunk/conf

Freeswitch SVN brian at freeswitch.org
Wed Oct 17 12:44:58 EDT 2007


Author: brian
Date: Wed Oct 17 12:44:57 2007
New Revision: 5936

Modified:
   freeswitch/trunk/conf/default_context.xml
   freeswitch/trunk/conf/directory.xml

Log:
update to have one example of a user with passwords

Modified: freeswitch/trunk/conf/default_context.xml
==============================================================================
--- freeswitch/trunk/conf/default_context.xml	(original)
+++ freeswitch/trunk/conf/default_context.xml	Wed Oct 17 12:44:57 2007
@@ -95,11 +95,12 @@
   </extension>
 
   <!-- Call the FreeSWITCH conference via SIP -->
-  <!--<extension name="FreeSWITCH Conference SIP">-->
-  <!--<condition field="destination_number" expression="^888$">-->
-  <!--<action application="bridge" data="sofia/$${sip_profile}/888 at conference.freeswitch.org"/>-->
-  <!--</condition>-->
-  <!--</extension> -->
+  <extension name="FreeSWITCH Conference SIP">
+    <condition field="destination_number" expression="^42$">
+      <action application="set" data="bypass_media=true"/>
+      <action application="bridge" data="sofia/$${sip_profile}/42 at conference.freeswitch.org"/>
+    </condition>
+  </extension> 
 
   <!-- Call the FreeSWITCH conference via IAX -->
   <!--<extension name="FreeSWITCH Conference IAX">-->

Modified: freeswitch/trunk/conf/directory.xml
==============================================================================
--- freeswitch/trunk/conf/directory.xml	(original)
+++ freeswitch/trunk/conf/directory.xml	Wed Oct 17 12:44:57 2007
@@ -49,8 +49,18 @@
     <vcard>
       <!-- insert optional compliant vcard xml here-->
     </vcard>
+
+    <!-- this is an example of a user with auth and various settings -->
+    <user id="1000" mailbox="1000">
+      <params>
+	<param name="password" value="mypass"/>
+	<param name="vm-password" value="1234"/>
+	<!--<param name="vm-mailto" value="me at mydomain.com"/>-->
+	<!--<param name="vm-email-all-messages" value="true"/>-->
+      </params>
+    </user>
+
     <!-- authless users and mailboxes -->
-    <user id="1000"/>
     <user id="1001"/>
     <user id="1002"/>
     <user id="1003"/>



More information about the Freeswitch-svn mailing list