Skip to content

Commit

Permalink
Only allow AES_CM_128_HMAC_SHA1_80 and AES_CM_128_HMAC_SHA1_32 cipher…
Browse files Browse the repository at this point in the history
… for T34W and T44W Yealink phones
  • Loading branch information
Stell0 authored and Amygos committed Mar 19, 2024
1 parent 7eb565d commit a89f533
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data/templates/yealink.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -1862,6 +1862,10 @@ account.{{ line }}.enable_user_equal_phone = 0
account.{{ line }}.srtp_encryption = {{ _context['account_encryption_' ~ line] ? '2' : '0' }}
account.{{ line }}.srtp_unencrypted_rtp.enable = 0
account.{{ line }}.srtp.unencrypted_rtcp.enable = 0
# Fix SRTP error
{% if provisioning_user_agent matches '/SIP-(T34W|T44W)/' %}
account.{{ line }}.srtp.cipher_list = AES_CM_128_HMAC_SHA1_80,AES_CM_128_HMAC_SHA1_32
{% endif %}
account.{{ line }}.ptime = 20
account.{{ line }}.register_line = 0
account.{{ line }}.register_mac = 0
Expand Down

0 comments on commit a89f533

Please sign in to comment.