]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
break these into includes
authorBrian West <brian@freeswitch.org>
Sat, 8 Dec 2007 20:23:14 +0000 (20:23 +0000)
committerBrian West <brian@freeswitch.org>
Sat, 8 Dec 2007 20:23:14 +0000 (20:23 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6583 d0543943-73ff-0310-b7d9-9358b9ac24b2

conf/sip_profiles/default.xml
conf/sip_profiles/default/example.xml [new file with mode: 0644]
conf/sip_profiles/nat.xml

index 43a391035095f336c809306abb87079d9a950998..e75814197c06358d973d61bea6b50734f5155f9b 100644 (file)
@@ -5,38 +5,7 @@
   </aliases>
   <!-- Outbound Registrations -->
   <gateways>
-    <!--<gateway name="asterlink.com">-->
-    <!--/// account username *required* ///-->
-    <!--<param name="username" value="cluecon"/>-->
-    <!--/// auth realm: *optional* same as gateway name, if blank ///-->
-    <!--<param name="realm" value="asterlink.com"/>-->
-    <!--/// username to use in from: *optional* same as  username, if blank ///-->
-    <!--<param name="from-user" value="cluecon"/>-->
-    <!--/// domain to use in from: *optional* same as  realm, if blank ///-->
-    <!--<param name="from-domain" value="asterlink.com"/>-->
-    <!--/// account password *required* ///-->
-    <!--<param name="password" value="2007"/>--> 
-    <!--/// replace the INVITE from user with the channel's caller-id ///-->
-    <!--<param name="caller-id-in-from" value="false"/>-->
-    <!--/// extension for inbound calls: *optional* same as username, if blank ///-->
-    <!--<param name="extension" value="cluecon"/>-->
-    <!--/// proxy host: *optional* same as realm, if blank ///-->
-    <!--<param name="proxy" value="asterlink.com"/>-->
-    <!--/// send register to this proxy: *optional* same as proxy, if blank ///-->
-    <!--<param name="register-proxy" value="mysbc.com"/>-->
-    <!--/// expire in seconds: *optional* 3600, if blank ///-->
-    <!--<param name="expire-seconds" value="60"/>-->
-    <!--/// do not register ///-->
-    <!--<param name="register" value="false"/>-->
-    <!-- which transport to use for register -->
-    <!--<param name="register-transport" value="udp"/>-->
-    <!--How many seconds before a retry when a failure or timeout occurs -->
-    <!--<param name="retry_seconds" value="30"/>-->
-    <!--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"/>-->
-    <!--extra sip params to send in the contact-->
-    <!--<param name="contact-params" value="tport=tcp"/>-->
-    <!--</gateway>-->
+    <X-PRE-PROCESS cmd="include" data="default/*.xml"/>
   </gateways>
   
   <domains>
diff --git a/conf/sip_profiles/default/example.xml b/conf/sip_profiles/default/example.xml
new file mode 100644 (file)
index 0000000..231d3af
--- /dev/null
@@ -0,0 +1,34 @@
+<include>
+  <!--<gateway name="asterlink.com">-->
+  <!--/// account username *required* ///-->
+  <!--<param name="username" value="cluecon"/>-->
+  <!--/// auth realm: *optional* same as gateway name, if blank ///-->
+  <!--<param name="realm" value="asterlink.com"/>-->
+  <!--/// username to use in from: *optional* same as  username, if blank ///-->
+  <!--<param name="from-user" value="cluecon"/>-->
+  <!--/// domain to use in from: *optional* same as  realm, if blank ///-->
+  <!--<param name="from-domain" value="asterlink.com"/>-->
+  <!--/// account password *required* ///-->
+  <!--<param name="password" value="2007"/>--> 
+  <!--/// replace the INVITE from user with the channel's caller-id ///-->
+  <!--<param name="caller-id-in-from" value="false"/>-->
+  <!--/// extension for inbound calls: *optional* same as username, if blank ///-->
+  <!--<param name="extension" value="cluecon"/>-->
+  <!--/// proxy host: *optional* same as realm, if blank ///-->
+  <!--<param name="proxy" value="asterlink.com"/>-->
+  <!--/// send register to this proxy: *optional* same as proxy, if blank ///-->
+  <!--<param name="register-proxy" value="mysbc.com"/>-->
+  <!--/// expire in seconds: *optional* 3600, if blank ///-->
+  <!--<param name="expire-seconds" value="60"/>-->
+  <!--/// do not register ///-->
+  <!--<param name="register" value="false"/>-->
+  <!-- which transport to use for register -->
+  <!--<param name="register-transport" value="udp"/>-->
+  <!--How many seconds before a retry when a failure or timeout occurs -->
+  <!--<param name="retry_seconds" value="30"/>-->
+  <!--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"/>-->
+  <!--extra sip params to send in the contact-->
+  <!--<param name="contact-params" value="tport=tcp"/>-->
+  <!--</gateway>-->
+</include>
index 83d27e3c31516b04e80ee7017f85293398255b52..dd4a2f44dec8b0a3aa006821273ff9951916803c 100644 (file)
@@ -1,4 +1,7 @@
 <profile name="nat">
+  <gateways>
+    <X-PRE-PROCESS cmd="include" data="nat/*.xml"/>
+  </gateways>
   <settings>
     <param name="debug" value="1"/>
     <param name="rfc2833-pt" value="101"/>