offer srtp on outbound if we have it on inbound

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7282 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2008-01-18 15:09:34 +00:00
parent 918eec0d0e
commit 23fcc31f85
2 changed files with 3 additions and 1 deletions

View 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}"/>

View 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) -->