* Update y000000000067.cfg
Update the Yealink T42S template to add variables for Wifi settings.
* Update y000000000065.cfg
Update the Yealink T48S template to add variables for Wifi settings.
* Update y000000000066.cfg
Update the Yealink T46S template to add variables for Wifi settings.
* Update y000000000068.cfg
Update the Yealink T41S template to add variables for Wifi settings.
* Update y000000000069.cfg
Update the Yealink T27g template to add variables for Wifi settings.
* Update y000000000046.cfg
Update the Yealink T29G template to add variables for Wifi settings.
* Update y000000000028.cfg
Update the Yealink T46G template to add variables for Wifi settings.
* Update y000000000035.cfg
Update the Yealink T48G template to add variables for Wifi settings.
The template for codec enable settings was taking a value as 1 if it was set in the settings. It was not taking the actual value inside it. So I have edited the templates to check the value if it's set to true.
I was having an issue where my T41P phones were getting provisioned with IPv4 & IPv6 - even though I specified in default settings yealink_ip_address_mode=0 for IPv4 only. Checked the y000000000036.cfg, which was setting it correctly. The issue was that {$mac}.cfg was overriding the correct setting. There were several instances of "network.ip_address_mode = 2" in this file, which specifies ipv4&ipv6. I changed all 5 of those entries in this file to pull from the default setting {$yealink_ip_address_mode} rather than just setting a static value of 2. I don't know why it has this listed in this file 5 times. But, this change resolved my issue and will force the T41P provisioning to follow FusionPBX default settings.
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.