Skip to content

Commit ea31303

Browse files
committed
React to all suites in the defaults and set true to accept the strongest offer received
1 parent 8807e8f commit ea31303

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

conf/vanilla/dialplan/default.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
<anti-action application="start_dtmf"/>
136136
</condition>
137137
-->
138-
<condition field="${rtp_has_crypto}" expression="^(AES_CM_128_HMAC_SHA1_32|AES_CM_128_HMAC_SHA1_80)$" break="never">
138+
<condition field="${rtp_has_crypto}" expression="^($${rtp_sdes_suites})$" break="never">
139139
<action application="set" data="rtp_secure_media=true"/>
140140
<!-- Offer SRTP on outbound legs if we have it on inbound. -->
141141
<!-- <action application="export" data="rtp_secure_media=true"/> -->

conf/vanilla/vars.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
<X-PRE-PROCESS cmd="set" data="domain_name=$${domain}"/>
5151
<X-PRE-PROCESS cmd="set" data="hold_music=local_stream://moh"/>
5252
<X-PRE-PROCESS cmd="set" data="use_profile=internal"/>
53-
53+
<X-PRE-PROCESS cmd="set" data="rtp_sdes_suites=AEAD_AES_256_GCM_8|AEAD_AES_128_GCM_8|AES_CM_256_HMAC_SHA1_80|AES_CM_192_HMAC_SHA1_80|AES_CM_128_HMAC_SHA1_80|AES_CM_256_HMAC_SHA1_32|AES_CM_192_HMAC_SHA1_32|AES_CM_128_HMAC_SHA1_32|AES_CM_128_NULL_AUTH"/>
5454
<!--
5555
Enable ZRTP globally you can override this on a per channel basis
5656

0 commit comments

Comments
 (0)