]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
offer srtp on outbound if we have it on inbound
authorBrian West <brian@freeswitch.org>
Fri, 18 Jan 2008 15:09:34 +0000 (15:09 +0000)
committerBrian West <brian@freeswitch.org>
Fri, 18 Jan 2008 15:09:34 +0000 (15:09 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7282 d0543943-73ff-0310-b7d9-9358b9ac24b2

conf/dialplan/default.xml
conf/sip_profiles/default.xml

index c2b425f52f30a95f4d1bbeba55aa640698cd5e85..0ec71f0cd279cac812ce2955ad314c805d2b80ee 100644 (file)
@@ -54,6 +54,8 @@
       </condition>
       <condition field="${sip_has_crypto}" expression="^(AES_CM_128_HMAC_SHA1_32|AES_CM_128_HMAC_SHA1_80)$" break="never">
        <action application="set" data="sip_secure_media=true"/>
+       <!-- Offer SRTP on outbound legs if we have it on inbound. -->
+       <action application="export" data="sip_secure_media=true"/>
       </condition>
       <condition>
        <action application="db" data="insert/spymap/${caller_id_number}/${uuid}"/>
index 2909120737e7ac549db8a7889579f0eaf6fa146f..2892b445529c42d41e070a13fcb8e749f9413226 100644 (file)
@@ -46,7 +46,7 @@
     <!--<param name="bind-params" value="transport=udp"/>-->
 
     <!-- TLS: disabled by default, set to "true" to enable -->
-    <param name="tls" value="false"/>
+    <param name="tls" value="true"/>
     <!-- additional bind parameters for TLS -->
     <param name="tls-bind-params" value="transport=tls"/>
     <!-- Port to listen on for TLS requests. (5061 will be used if unspecified) -->