Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

FS-4807 clear up an example for people that don't want to bother with…

… learning how things work
  • Loading branch information...
commit fec1046db2e464e1b543458b3d4c3a9da365966a 1 parent 1e929e7
@FreeSWITCH FreeSWITCH authored
Showing with 12 additions and 0 deletions.
  1. +12 −0 conf/vanilla/dialplan/default.xml
View
12 conf/vanilla/dialplan/default.xml
@@ -141,6 +141,18 @@
<!-- <action application="export" data="sip_secure_media=true"/> -->
</condition>
+ <!--
+ Since we have inbound-late-negotation on by default now the
+ above behavior isn't the same so you have to do one extra step.
+ -->
+ <condition field="${endpoint_disposition}" expression="^(DELAYED NEGOTIATION)"/>
+ <condition field="${switch_r_sdp}" 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="hash" data="insert/${domain_name}-spymap/${caller_id_number}/${uuid}"/>
<action application="hash" data="insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}"/>
Please sign in to comment.
Something went wrong with that request. Please try again.