From f09ae688fe2048c4dd173542ff6280277e5ee96b Mon Sep 17 00:00:00 2001 From: benwiesner1 <42681729+benwiesner1@users.noreply.github.com> Date: Mon, 16 Sep 2019 17:04:37 -0700 Subject: [PATCH] Update {$mac}.cfg (#4616) * Update {$mac}.cfg this should satisfy exsisting pbx setups using polycom_provision_url and allow to have it global so each domain does not need to have a path attached to it. (this method is the same being used in most other templates) * Update {$mac}.cfg --- resources/templates/provision/polycom/5.x/{$mac}.cfg | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/resources/templates/provision/polycom/5.x/{$mac}.cfg b/resources/templates/provision/polycom/5.x/{$mac}.cfg index a23a3069ed..b716c3fa8f 100755 --- a/resources/templates/provision/polycom/5.x/{$mac}.cfg +++ b/resources/templates/provision/polycom/5.x/{$mac}.cfg @@ -70,6 +70,10 @@ {if isset($polycom_provision_url)} device.prov.serverName.set="1" device.prov.serverName="{$polycom_provision_url}" + {else} + device.prov.serverName.set="1" + device.prov.serverName="{$domain_name}/app/provision/" + {/if} device.prov.serverType.set="1" device.prov.serverType="{$polycom_server_type}" device.prov.user.set="1" @@ -77,9 +81,6 @@ device.prov.password.set="1" device.prov.password="{$http_auth_password}" device.prov.tagSerialNo="1" - {else} - device.prov.serverName="{$domain_name}" - {/if} {if isset($polycom_syslog_server)} device.syslog.serverName.set="1" device.syslog.serverName="{$polycom_syslog_server}"