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

Freeswitch SVN brian at freeswitch.org
Sun Sep 28 19:00:04 EDT 2008


Author: brian
Date: Sun Sep 28 19:00:04 2008
New Revision: 9705

Modified:
   freeswitch/trunk/conf/dialplan/public.xml
   freeswitch/trunk/conf/directory/default/asterlink.com.noload
   freeswitch/trunk/conf/directory/default/ideasip.com.noload
   freeswitch/trunk/conf/directory/default/intelefone.net.noload
   freeswitch/trunk/conf/directory/default/pulver.com.noload
   freeswitch/trunk/conf/directory/default/sip.broadvoice.com.noload
   freeswitch/trunk/conf/directory/default/sipphone.com.noload
   freeswitch/trunk/conf/directory/default/voipuser.org.noload

Log:
more config goodies 

Modified: freeswitch/trunk/conf/dialplan/public.xml
==============================================================================
--- freeswitch/trunk/conf/dialplan/public.xml	(original)
+++ freeswitch/trunk/conf/dialplan/public.xml	Sun Sep 28 19:00:04 2008
@@ -9,6 +9,22 @@
       </condition>
     </extension>
 
+    <!-- Try to get target_domain from the sip_req_params variable -->
+    <extension name="set_domain" continue="true">
+      <condition field="${target_domain}" expression="^$" break="never"/>
+      <condition field="source" expression="mod_sofia" break="never"/>
+      <condition field="${sip_req_params}" expression="target_domain=([A-Z-a-z0-9.]+)" break="never">
+	<action application="set" data="target_domain=$1"/>
+	<anti-action application="set" data="target_domain=$${domain}"/>
+      </condition>
+    </extension>
+
+    <extension name="call_debug">
+      <condition field="${call_debug}" expression="^true$" break="never">
+	<action application="info"/>
+      </condition>
+    </extension>
+
     <extension name="public_extensions">
       <condition field="destination_number" expression="^(10[01][0-9])$">
 	<action application="transfer" data="$1 XML default"/>

Modified: freeswitch/trunk/conf/directory/default/asterlink.com.noload
==============================================================================
--- freeswitch/trunk/conf/directory/default/asterlink.com.noload	(original)
+++ freeswitch/trunk/conf/directory/default/asterlink.com.noload	Sun Sep 28 19:00:04 2008
@@ -10,7 +10,8 @@
 	<param name="from-domain" value="asterlink.com"/>
 	<param name="expire-seconds" value="600"/>
 	<param name="register" value="true"/>
-	<param name="retry_seconds" value="30"/>
+	<param name="retry-seconds" value="30"/>
+	<param name="contact-params" value="target_domain=$${domain}"/>
 	<param name="extension" value="%ALEXTENSION%"/>
 	<param name="context" value="public"/>
       </gateway>

Modified: freeswitch/trunk/conf/directory/default/ideasip.com.noload
==============================================================================
--- freeswitch/trunk/conf/directory/default/ideasip.com.noload	(original)
+++ freeswitch/trunk/conf/directory/default/ideasip.com.noload	Sun Sep 28 19:00:04 2008
@@ -8,7 +8,7 @@
 	<param name="password" value="%ISPASSWORD%"/>
 	<param name="expire-seconds" value="600"/>
 	<param name="register" value="true"/>
-	<param name="retry_seconds" value="30"/>
+	<param name="retry-seconds" value="30"/>
 	<param name="extension" value="%ISEXTENSION%"/>
 	<param name="context" value="public"/>
       </gateway>

Modified: freeswitch/trunk/conf/directory/default/intelefone.net.noload
==============================================================================
--- freeswitch/trunk/conf/directory/default/intelefone.net.noload	(original)
+++ freeswitch/trunk/conf/directory/default/intelefone.net.noload	Sun Sep 28 19:00:04 2008
@@ -12,7 +12,7 @@
 	<param name="register" value="true"/>
 	<param name="proxy" value="sip.intelefone.net"/>
 	<param name="register-proxy" value="sip.intelefone.net"/>
-	<param name="retry_seconds" value="30"/>
+	<param name="retry-seconds" value="30"/>
 	<param name="extension" value="%%USERNAME%%"/>
 	<param name="context" value="public"/>
       </gateway>

Modified: freeswitch/trunk/conf/directory/default/pulver.com.noload
==============================================================================
--- freeswitch/trunk/conf/directory/default/pulver.com.noload	(original)
+++ freeswitch/trunk/conf/directory/default/pulver.com.noload	Sun Sep 28 19:00:04 2008
@@ -8,7 +8,7 @@
 	<param name="password" value="%FWDPASSWORD%"/>
 	<param name="expire-seconds" value="600"/>
 	<param name="register" value="true"/>
-	<param name="retry_seconds" value="30"/>
+	<param name="retry-seconds" value="30"/>
 	<param name="extension" value="%FWDEXTENSION%"/>
 	<param name="context" value="public"/>
       </gateway>

Modified: freeswitch/trunk/conf/directory/default/sip.broadvoice.com.noload
==============================================================================
--- freeswitch/trunk/conf/directory/default/sip.broadvoice.com.noload	(original)
+++ freeswitch/trunk/conf/directory/default/sip.broadvoice.com.noload	Sun Sep 28 19:00:04 2008
@@ -21,7 +21,7 @@
 	  <!--/// register ///-->
 	  <param name="register" value="true"/>
 	  <!--How many seconds before a retry when a failure or timeout occurs -->
-	  <param name="retry_seconds" value="3600"/>
+	  <param name="retry-seconds" value="3600"/>
 	  <!--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"/>-->
 	</gateway>

Modified: freeswitch/trunk/conf/directory/default/sipphone.com.noload
==============================================================================
--- freeswitch/trunk/conf/directory/default/sipphone.com.noload	(original)
+++ freeswitch/trunk/conf/directory/default/sipphone.com.noload	Sun Sep 28 19:00:04 2008
@@ -8,7 +8,7 @@
 	<param name="password" value="%SPPASSWORD%"/>
 	<param name="expire-seconds" value="600"/>
 	<param name="register" value="true"/>
-	<param name="retry_seconds" value="5"/>
+	<param name="retry-seconds" value="5"/>
 	<param name="extension" value="%SPEXTENSION%"/>
 	<param name="context" value="public"/>
       </gateway>

Modified: freeswitch/trunk/conf/directory/default/voipuser.org.noload
==============================================================================
--- freeswitch/trunk/conf/directory/default/voipuser.org.noload	(original)
+++ freeswitch/trunk/conf/directory/default/voipuser.org.noload	Sun Sep 28 19:00:04 2008
@@ -8,7 +8,7 @@
 	<param name="password" value="%VUPASSWORD%"/>
 	<param name="expire-seconds" value="600"/>
 	<param name="register" value="true"/>
-	<param name="retry_seconds" value="30"/>
+	<param name="retry-seconds" value="30"/>
 	<param name="extension" value="%VUEXTENSION%"/>
 	<param name="context" value="public"/>
       </gateway>



More information about the Freeswitch-svn mailing list