]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
tweak default conf for better first experience
authorAnthony Minessale <anthony.minessale@gmail.com>
Sun, 28 Jan 2007 03:05:20 +0000 (03:05 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Sun, 28 Jan 2007 03:05:20 +0000 (03:05 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4071 d0543943-73ff-0310-b7d9-9358b9ac24b2

conf/default_context.xml
conf/enum.conf.xml
conf/sofia.conf.xml

index 2e0c19305e77ff5a1b5f2a8c81f58d1a122b6dcb..53fa0440383ee5068f261f0d8bb3d264942904ae 100644 (file)
@@ -29,7 +29,7 @@
   <!-- Call the FreeSWITCH conference via SIP -->
   <!--<extension name="FreeSWITCH Conference SIP">-->
   <!--<condition field="destination_number" expression="^888$">-->
-  <!--<action application="bridge" data="sofia/test/888@conference.freeswitch.org"/>-->
+  <!--<action application="bridge" data="sofia/$${domain}/888@conference.freeswitch.org"/>-->
   <!--</condition>-->
   <!--</extension> -->
 
@@ -45,7 +45,7 @@
       <!-- Request a certain tone/file to be played while you wait for the call to be answered-->
       <action application="set" data="ringback=${us-ring}"/>
       <!--<action application="set" data="ringback=/home/ring.wav"/>-->
-      <action application="bridge" data="sofia/test/1234@conference.freeswitch.org"/>
+      <action application="bridge" data="sofia/$${domain}/1234@conference.freeswitch.org"/>
     </condition>
   </extension>
 
@@ -59,7 +59,7 @@
   <!-- Start a dynamic conference and call someone at the same time -->
   <extension name="2000">
     <condition field="destination_number" expression="^2000$">
-      <action application="conference" data="bridge:mydynaconf:sofia/test/1234@conference.freeswitch.org"/>
+      <action application="conference" data="bridge:mydynaconf:sofia/$${domain}/1234@conference.freeswitch.org"/>
     </condition>
   </extension>
 
index e0881c269d6de912630425c752e00856fff229ba..db77758e7dfe8bdd218c19e62670c0b820cff723 100644 (file)
@@ -4,8 +4,8 @@
   </settings>
 
   <routes>
-    <route service="E2U+SIP" regex="sip:(.*)" replace="sofia/test/$1"/>
+    <route service="E2U+SIP" regex="sip:(.*)" replace="sofia/$${domain}/$1"/>
     <route service="E2U+IAX2" regex="iax2:(.*)" replace="iax/$1"/>
-    <route service="E2U+XMPP" regex="XMPP:(.*)" replace="dingaling/jingle/$1"/>
+    <route service="E2U+XMPP" regex="XMPP:(.*)" replace="dingaling/$${domain}/$1"/>
   </routes>
 </configuration>
index 0fa1506a6489ba01336ae0989461514874183473..675ad86583f8c2c7e20368bdcc220f64fbf7646f 100644 (file)
@@ -17,7 +17,7 @@
        <param name="debug" value="1"/>
        <param name="rfc2833-pt" value="101"/>
        <param name="sip-port" value="5060"/>
-       <param name="dialplan" value="XML"/>
+       <param name="dialplan" value="enum,XML"/>
        <param name="dtmf-duration" value="100"/>
        <param name="codec-prefs" value="$${default_codecs}"/>
        <param name="codec-ms" value="20"/>