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
This commit is contained in:
parent
4c6dd61fcc
commit
f09ae688fe
|
|
@ -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}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue