Update {$mac}.cfg (#4061)
* Update {$mac}.cfg
Polycom will not support wild card cert only if you disable strictCertCommonNameValidation
also polycom is missing many root certs so we need an option to push them via the template
bot stuff was tested by me in production and its working fine
* Use isset
This commit is contained in:
parent
5fe2f6f400
commit
9b5b6d6099
|
|
@ -56,6 +56,9 @@
|
|||
{if isset($row.register_expires)}reg.{$row.line_number}.server.2.expires="{$row.register_expires}"{else}reg.{$row.line_number}.server.2.expires="{$row.register_expires}"{/if}
|
||||
|
||||
{/foreach}
|
||||
|
||||
{if isset($polycom_cert_validation)}sec.TLS.SIP.strictCertCommonNameValidation="{$polycom_cert_validation}"{/if}
|
||||
{if isset($polycom_root_cert)}sec.TLS.customCaCert.5="{$polycom_root_cert}"{/if}
|
||||
/>
|
||||
<DEVICE_SETTINGS
|
||||
device.set="1"
|
||||
|
|
@ -193,7 +196,7 @@
|
|||
{if $analog_headset_option != ''}up.analogHeadsetOption="{$analog_headset_option}"{/if}
|
||||
{if isset($polycom_onetouchvoicemail)}
|
||||
up.oneTouchVoiceMail="{$polycom_onetouchvoicemail}"
|
||||
{else}
|
||||
{else}
|
||||
up.oneTouchVoiceMail="0"
|
||||
{/if}
|
||||
exchange.server.url="0.0.0.0"
|
||||
|
|
|
|||
Loading…
Reference in New Issue