]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
external can do the same job of the nat profile. I have added an alias to the extern...
authorBrian West <brian@freeswitch.org>
Thu, 28 Aug 2008 18:25:48 +0000 (18:25 +0000)
committerBrian West <brian@freeswitch.org>
Thu, 28 Aug 2008 18:25:48 +0000 (18:25 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9383 d0543943-73ff-0310-b7d9-9358b9ac24b2

conf/sip_profiles/external.xml
conf/sip_profiles/nat.xml [deleted file]
conf/sip_profiles/nat/example.xml [deleted file]

index 9562e77bf776d3629f52672f0a75ea700b0f0354..5d5ee9f6ed1af625c382fdaccae4f09a02866bd8 100644 (file)
@@ -7,6 +7,7 @@
 
   <aliases>
     <alias name="outbound"/>
+    <alias name="nat"/> <!-- for backwards compatibility --> 
   </aliases>
 
   <domains>
diff --git a/conf/sip_profiles/nat.xml b/conf/sip_profiles/nat.xml
deleted file mode 100644 (file)
index cedbf8e..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<!-- http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files -->
-<profile name="nat">
-  <gateways>
-    <X-PRE-PROCESS cmd="include" data="nat/*.xml"/>
-  </gateways>
-
-  <settings>
-    <param name="debug" value="0"/>
-    <param name="sip-trace" value="no"/>
-    <param name="rfc2833-pt" value="101"/>
-    <param name="sip-port" value="5070"/>
-    <param name="dialplan" value="XML"/>
-    <param name="context" value="public"/>
-    <param name="dtmf-duration" value="100"/>
-    <param name="codec-prefs" value="$${outbound_codec_prefs}"/>
-    <param name="use-rtp-timer" value="true"/>
-    <param name="hold-music" value="$${hold_music}"/>
-    <param name="rtp-timer-name" value="soft"/>
-    <param name="manage-presence" value="false"/>
-    <param name="aggressive-nat-detection" value="true"/>
-    <param name="inbound-codec-negotiation" value="generous"/>
-    <param name="nonce-ttl" value="60"/>
-    <param name="auth-calls" value="false"/>
-    <param name="rtp-timeout-sec" value="1800"/>
-    <param name="rtp-ip" value="$${local_ip_v4}"/>
-    <param name="sip-ip" value="$${local_ip_v4}"/>
-    <param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
-    <param name="ext-sip-ip" value="$${external_sip_ip}"/>
-    <param name="rtp-timeout-sec" value="300"/>
-    <param name="rtp-hold-timeout-sec" value="1800"/>
-    <!--<param name="enable-3pcc" value="true"/>-->
-  </settings>
-</profile>
diff --git a/conf/sip_profiles/nat/example.xml b/conf/sip_profiles/nat/example.xml
deleted file mode 100644 (file)
index b6fa117..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<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"/>--> 
-  <!--/// 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>