From 7bbbc4e8952067636a35f91a4017f354dc9b2c34 Mon Sep 17 00:00:00 2001 From: Antonio Fernandez Date: Wed, 1 Jun 2022 11:32:22 -0400 Subject: [PATCH] Settings Refresh Timer has been added to the templates and new variable (#6402) * Settings Refresh Timer has been added to the templates and new variable * changed the variable name to a better name $snom_provision_timer_seconds --- resources/templates/provision/snom/D120/{$mac}.xml | 1 + resources/templates/provision/snom/D315/{$mac}.xml | 1 + resources/templates/provision/snom/D345/{$mac}.xml | 1 + resources/templates/provision/snom/D375/{$mac}.xml | 1 + resources/templates/provision/snom/D385/{$mac}.xml | 1 + resources/templates/provision/snom/D712/{$mac}.xml | 1 + resources/templates/provision/snom/D715/{$mac}.xml | 1 + resources/templates/provision/snom/D717/{$mac}.xml | 1 + resources/templates/provision/snom/D725/{$mac}.xml | 1 + resources/templates/provision/snom/D735/{$mac}.xml | 1 + resources/templates/provision/snom/D745/{$mac}.xml | 1 + resources/templates/provision/snom/D765/{$mac}.xml | 1 + resources/templates/provision/snom/D785/{$mac}.xml | 1 + 13 files changed, 13 insertions(+) diff --git a/resources/templates/provision/snom/D120/{$mac}.xml b/resources/templates/provision/snom/D120/{$mac}.xml index 33b6089b95..4263244011 100644 --- a/resources/templates/provision/snom/D120/{$mac}.xml +++ b/resources/templates/provision/snom/D120/{$mac}.xml @@ -34,6 +34,7 @@ {if isset($snom_update_policy)}{$snom_update_policy}{else}auto_update{/if} {if isset($snom_provision_url)}{$snom_provision_url}{else}https://{$domain_name}{$project_path}/app/provision/index.php?mac={$mac}{/if} + {if isset($snom_provision_timer_seconds)}{$snom_provision_timer_seconds}{else}0{/if} {$http_auth_username} {$http_auth_password} diff --git a/resources/templates/provision/snom/D315/{$mac}.xml b/resources/templates/provision/snom/D315/{$mac}.xml index 1ea1ee36c3..689cff9395 100644 --- a/resources/templates/provision/snom/D315/{$mac}.xml +++ b/resources/templates/provision/snom/D315/{$mac}.xml @@ -34,6 +34,7 @@ {if isset($snom_update_policy)}{$snom_update_policy}{else}auto_update{/if} {if isset($snom_provision_url)}{$snom_provision_url}{else}https://{$domain_name}{$project_path}/app/provision/index.php?mac={$mac}{/if} + {if isset($snom_provision_timer_seconds)}{$snom_provision_timer_seconds}{else}0{/if} {$http_auth_username} {$http_auth_password} diff --git a/resources/templates/provision/snom/D345/{$mac}.xml b/resources/templates/provision/snom/D345/{$mac}.xml index 692f479ddd..e99b2d1429 100644 --- a/resources/templates/provision/snom/D345/{$mac}.xml +++ b/resources/templates/provision/snom/D345/{$mac}.xml @@ -34,6 +34,7 @@ {if isset($snom_update_policy)}{$snom_update_policy}{else}auto_update{/if} {if isset($snom_provision_url)}{$snom_provision_url}{else}https://{$domain_name}{$project_path}/app/provision/index.php?mac={$mac}{/if} + {if isset($snom_provision_timer_seconds)}{$snom_provision_timer_seconds}{else}0{/if} {$http_auth_username} {$http_auth_password} diff --git a/resources/templates/provision/snom/D375/{$mac}.xml b/resources/templates/provision/snom/D375/{$mac}.xml index e44a81d76a..8ad200890f 100644 --- a/resources/templates/provision/snom/D375/{$mac}.xml +++ b/resources/templates/provision/snom/D375/{$mac}.xml @@ -38,6 +38,7 @@ {if isset($snom_update_policy)}{$snom_update_policy}{else}auto_update{/if} {if isset($snom_provision_url)}{$snom_provision_url}{else}https://{$domain_name}{$project_path}/app/provision/index.php?mac={$mac}{/if} + {if isset($snom_provision_timer_seconds)}{$snom_provision_timer_seconds}{else}0{/if} {$http_auth_username} {$http_auth_password} diff --git a/resources/templates/provision/snom/D385/{$mac}.xml b/resources/templates/provision/snom/D385/{$mac}.xml index 293787b164..5ba7beccec 100644 --- a/resources/templates/provision/snom/D385/{$mac}.xml +++ b/resources/templates/provision/snom/D385/{$mac}.xml @@ -38,6 +38,7 @@ {if isset($snom_update_policy)}{$snom_update_policy}{else}auto_update{/if} {if isset($snom_provision_url)}{$snom_provision_url}{else}https://{$domain_name}{$project_path}/app/provision/index.php?mac={$mac}{/if} + {if isset($snom_provision_timer_seconds)}{$snom_provision_timer_seconds}{else}0{/if} {$http_auth_username} {$http_auth_password} diff --git a/resources/templates/provision/snom/D712/{$mac}.xml b/resources/templates/provision/snom/D712/{$mac}.xml index a9766d9996..f2eae176e7 100644 --- a/resources/templates/provision/snom/D712/{$mac}.xml +++ b/resources/templates/provision/snom/D712/{$mac}.xml @@ -34,6 +34,7 @@ {if isset($snom_update_policy)}{$snom_update_policy}{else}auto_update{/if} {if isset($snom_provision_url)}{$snom_provision_url}{else}https://{$domain_name}{$project_path}/app/provision/index.php?mac={$mac}{/if} + {if isset($snom_provision_timer_seconds)}{$snom_provision_timer_seconds}{else}0{/if} {$http_auth_username} {$http_auth_password} diff --git a/resources/templates/provision/snom/D715/{$mac}.xml b/resources/templates/provision/snom/D715/{$mac}.xml index 28cfd240f7..b0bf9eb53d 100644 --- a/resources/templates/provision/snom/D715/{$mac}.xml +++ b/resources/templates/provision/snom/D715/{$mac}.xml @@ -34,6 +34,7 @@ {if isset($snom_update_policy)}{$snom_update_policy}{else}auto_update{/if} {if isset($snom_provision_url)}{$snom_provision_url}{else}https://{$domain_name}{$project_path}/app/provision/index.php?mac={$mac}{/if} + {if isset($snom_provision_timer_seconds)}{$snom_provision_timer_seconds}{else}0{/if} {$http_auth_username} {$http_auth_password} diff --git a/resources/templates/provision/snom/D717/{$mac}.xml b/resources/templates/provision/snom/D717/{$mac}.xml index 1606766584..7a6baa3c02 100644 --- a/resources/templates/provision/snom/D717/{$mac}.xml +++ b/resources/templates/provision/snom/D717/{$mac}.xml @@ -38,6 +38,7 @@ {if isset($snom_update_policy)}{$snom_update_policy}{else}auto_update{/if} {if isset($snom_provision_url)}{$snom_provision_url}{else}https://{$domain_name}{$project_path}/app/provision/index.php?mac={$mac}{/if} + {if isset($snom_provision_timer_seconds)}{$snom_provision_timer_seconds}{else}0{/if} {$http_auth_username} {$http_auth_password} diff --git a/resources/templates/provision/snom/D725/{$mac}.xml b/resources/templates/provision/snom/D725/{$mac}.xml index 58492200bc..0698f701f8 100644 --- a/resources/templates/provision/snom/D725/{$mac}.xml +++ b/resources/templates/provision/snom/D725/{$mac}.xml @@ -34,6 +34,7 @@ {if isset($snom_update_policy)}{$snom_update_policy}{else}auto_update{/if} {if isset($snom_provision_url)}{$snom_provision_url}{else}https://{$domain_name}{$project_path}/app/provision/index.php?mac={$mac}{/if} + {if isset($snom_provision_timer_seconds)}{$snom_provision_timer_seconds}{else}0{/if} {$http_auth_username} {$http_auth_password} diff --git a/resources/templates/provision/snom/D735/{$mac}.xml b/resources/templates/provision/snom/D735/{$mac}.xml index 1d403ca8d7..ae4e14b470 100644 --- a/resources/templates/provision/snom/D735/{$mac}.xml +++ b/resources/templates/provision/snom/D735/{$mac}.xml @@ -38,6 +38,7 @@ {if isset($snom_update_policy)}{$snom_update_policy}{else}auto_update{/if} {if isset($snom_provision_url)}{$snom_provision_url}{else}https://{$domain_name}{$project_path}/app/provision/index.php?mac={$mac}{/if} + {if isset($snom_provision_timer_seconds)}{$snom_provision_timer_seconds}{else}0{/if} {$http_auth_username} {$http_auth_password} diff --git a/resources/templates/provision/snom/D745/{$mac}.xml b/resources/templates/provision/snom/D745/{$mac}.xml index d104e16c8e..e90704bf7a 100644 --- a/resources/templates/provision/snom/D745/{$mac}.xml +++ b/resources/templates/provision/snom/D745/{$mac}.xml @@ -34,6 +34,7 @@ {if isset($snom_update_policy)}{$snom_update_policy}{else}auto_update{/if} {if isset($snom_provision_url)}{$snom_provision_url}{else}https://{$domain_name}{$project_path}/app/provision/index.php?mac={$mac}{/if} + {if isset($snom_provision_timer_seconds)}{$snom_provision_timer_seconds}{else}0{/if} {$http_auth_username} {$http_auth_password} diff --git a/resources/templates/provision/snom/D765/{$mac}.xml b/resources/templates/provision/snom/D765/{$mac}.xml index aef0f52010..75b5222290 100644 --- a/resources/templates/provision/snom/D765/{$mac}.xml +++ b/resources/templates/provision/snom/D765/{$mac}.xml @@ -38,6 +38,7 @@ {if isset($snom_update_policy)}{$snom_update_policy}{else}auto_update{/if} {if isset($snom_provision_url)}{$snom_provision_url}{else}https://{$domain_name}{$project_path}/app/provision/index.php?mac={$mac}{/if} + {if isset($snom_provision_timer_seconds)}{$snom_provision_timer_seconds}{else}0{/if} {$http_auth_username} {$http_auth_password} diff --git a/resources/templates/provision/snom/D785/{$mac}.xml b/resources/templates/provision/snom/D785/{$mac}.xml index fc99dc4f06..c01c1c249c 100644 --- a/resources/templates/provision/snom/D785/{$mac}.xml +++ b/resources/templates/provision/snom/D785/{$mac}.xml @@ -38,6 +38,7 @@ {if isset($snom_update_policy)}{$snom_update_policy}{else}auto_update{/if} {if isset($snom_provision_url)}{$snom_provision_url}{else}https://{$domain_name}{$project_path}/app/provision/index.php?mac={$mac}{/if} + {if isset($snom_provision_timer_seconds)}{$snom_provision_timer_seconds}{else}0{/if} {$http_auth_username} {$http_auth_password}