From 93dc310178f1619eeac79da9857858f019cbe18d Mon Sep 17 00:00:00 2001 From: garryavx <92547733+garryavx@users.noreply.github.com> Date: Sat, 3 Dec 2022 15:50:53 -0600 Subject: [PATCH] Update {$mac}.cfg (#6248) Added a line to set SRTP encryption. the default setting yealink_srtp_encryption was not setting properly to my T56a devices. I downloaded my config files and did not find an entry for srtp at all. compared with the t54w template and it did have a srtp setting. So I pretty much stole the line from the T54w template and dumped it in here. The T54w template is vastly superior to this one and this probably needs a rewrite to bring it in line. Tested on my T56a and it at least gets the job done. --- resources/templates/provision/yealink/t56a/{$mac}.cfg | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/templates/provision/yealink/t56a/{$mac}.cfg b/resources/templates/provision/yealink/t56a/{$mac}.cfg index 065dfabd18..59831e8cbc 100644 --- a/resources/templates/provision/yealink/t56a/{$mac}.cfg +++ b/resources/templates/provision/yealink/t56a/{$mac}.cfg @@ -102,6 +102,10 @@ account.1.register_mac = account.1.register_line = account.1.reg_fail_retry_interval = +#set encryption +account.1.srtp_encryption= {$yealink_srtp_encryption} +#this is a dirty way to do this, ideally this entire template needs to be brought in line with the t54w template which has more options for settings and doesn't have account.1,2,3,etc + ###################################################################################### ## NAT Settings ##