From ddf2fe53c70c4c21319f1fd86e1d2f2a9a599b3c Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 11 Apr 2026 05:08:44 +0000 Subject: [PATCH] Fix the Yealink wallpaper variable with the model number --- .../provision/yealink/cp965/y000000000143.cfg | 15 +++++++++++---- .../provision/yealink/t73u/y000000000186.cfg | 14 +++++++------- .../provision/yealink/t74u/y000000000187.cfg | 14 +++++++------- .../provision/yealink/t77u/y000000000188.cfg | 14 +++++++------- .../provision/yealink/t88v/y000000000192.cfg | 14 +++++++------- .../provision/yealink/t88w/y000000000192.cfg | 14 +++++++------- 6 files changed, 46 insertions(+), 39 deletions(-) diff --git a/resources/templates/provision/yealink/cp965/y000000000143.cfg b/resources/templates/provision/yealink/cp965/y000000000143.cfg index 4d76abdbe..00a38d0e5 100644 --- a/resources/templates/provision/yealink/cp965/y000000000143.cfg +++ b/resources/templates/provision/yealink/cp965/y000000000143.cfg @@ -1675,11 +1675,18 @@ features.power_saving.intelligent_mode = {$yealink_ps_intel_mode} ##Single File Size: <=5MB ##2MB of space should bereserved for the phone -wallpaper_upload.url = {$yealink_xxx_wallpaper} -{if isset($yealink_t54w_wallpaper_filename)} -phone_setting.backgrounds = Config:{$yealink_zzz_wallpaper_filename} +{if isset($yealink_cp965_wallpaper)} +wallpaper_upload.url = {$yealink_cp965_wallpaper} +{if isset($yealink_cp965_wallpaper_filename)} +phone_setting.backgrounds = Config:{$yealink_cp965_wallpaper_filename} +{/if} +##local wallpaper {else} -phone_setting.backgrounds = Config:yealink_zzz_wallpaper.png +{if isset($yealink_cp965_wallpaper_filename)} +phone_setting.backgrounds = Resource:{$yealink_cp965_wallpaper_filename} +{else} +phone_setting.backgrounds = Resource:yealink_cp965_wallpaper.png +{/if} {/if} ## phone_setting.backgrounds_with_dsskey_unfold(Only support T48G/S) diff --git a/resources/templates/provision/yealink/t73u/y000000000186.cfg b/resources/templates/provision/yealink/t73u/y000000000186.cfg index ae2db5a30..24ef7f271 100644 --- a/resources/templates/provision/yealink/t73u/y000000000186.cfg +++ b/resources/templates/provision/yealink/t73u/y000000000186.cfg @@ -1641,17 +1641,17 @@ features.power_saving.intelligent_mode = {$yealink_ps_intel_mode} ##2MB of space should bereserved for the phone ##remote wallpaper -{if isset($yealink_t54w_wallpaper)} -wallpaper_upload.url = {$yealink_t54w_wallpaper} -{if isset($yealink_t54w_wallpaper_filename)} -phone_setting.backgrounds = Config:{$yealink_t54w_wallpaper_filename} +{if isset($yealink_t73u_wallpaper)} +wallpaper_upload.url = {$yealink_t73u_wallpaper} +{if isset($yealink_t73u_wallpaper_filename)} +phone_setting.backgrounds = Config:{$yealink_t73u_wallpaper_filename} {/if} ##local wallpaper {else} -{if isset($yealink_t54w_wallpaper_filename)} -phone_setting.backgrounds = Resource:{$yealink_t54w_wallpaper_filename} +{if isset($yealink_t73u_wallpaper_filename)} +phone_setting.backgrounds = Resource:{$yealink_t73u_wallpaper_filename} {else} -phone_setting.backgrounds = Resource:yealink_t54w_wallpaper.png +phone_setting.backgrounds = Resource:yealink_t73u_wallpaper.png {/if} {/if} diff --git a/resources/templates/provision/yealink/t74u/y000000000187.cfg b/resources/templates/provision/yealink/t74u/y000000000187.cfg index e66a607ff..242b93950 100644 --- a/resources/templates/provision/yealink/t74u/y000000000187.cfg +++ b/resources/templates/provision/yealink/t74u/y000000000187.cfg @@ -1641,17 +1641,17 @@ features.power_saving.intelligent_mode = {$yealink_ps_intel_mode} ##2MB of space should bereserved for the phone ##remote wallpaper -{if isset($yealink_t54w_wallpaper)} -wallpaper_upload.url = {$yealink_t54w_wallpaper} -{if isset($yealink_t54w_wallpaper_filename)} -phone_setting.backgrounds = Config:{$yealink_t54w_wallpaper_filename} +{if isset($yealink_t74u_wallpaper)} +wallpaper_upload.url = {$yealink_t74u_wallpaper} +{if isset($yealink_t74u_wallpaper_filename)} +phone_setting.backgrounds = Config:{$yealink_t74u_wallpaper_filename} {/if} ##local wallpaper {else} -{if isset($yealink_t54w_wallpaper_filename)} -phone_setting.backgrounds = Resource:{$yealink_t54w_wallpaper_filename} +{if isset($yealink_t74u_wallpaper_filename)} +phone_setting.backgrounds = Resource:{$yealink_t74u_wallpaper_filename} {else} -phone_setting.backgrounds = Resource:yealink_t54w_wallpaper.png +phone_setting.backgrounds = Resource:yealink_t74u_wallpaper.png {/if} {/if} diff --git a/resources/templates/provision/yealink/t77u/y000000000188.cfg b/resources/templates/provision/yealink/t77u/y000000000188.cfg index 2a0397441..f5aff12fc 100644 --- a/resources/templates/provision/yealink/t77u/y000000000188.cfg +++ b/resources/templates/provision/yealink/t77u/y000000000188.cfg @@ -1641,17 +1641,17 @@ features.power_saving.intelligent_mode = {$yealink_ps_intel_mode} ##2MB of space should bereserved for the phone ##remote wallpaper -{if isset($yealink_t54w_wallpaper)} -wallpaper_upload.url = {$yealink_t54w_wallpaper} -{if isset($yealink_t54w_wallpaper_filename)} -phone_setting.backgrounds = Config:{$yealink_t54w_wallpaper_filename} +{if isset($yealink_t77u_wallpaper)} +wallpaper_upload.url = {$yealink_t77u_wallpaper} +{if isset($yealink_t77u_wallpaper_filename)} +phone_setting.backgrounds = Config:{$yealink_t77u_wallpaper_filename} {/if} ##local wallpaper {else} -{if isset($yealink_t54w_wallpaper_filename)} -phone_setting.backgrounds = Resource:{$yealink_t54w_wallpaper_filename} +{if isset($yealink_t77u_wallpaper_filename)} +phone_setting.backgrounds = Resource:{$yealink_t77u_wallpaper_filename} {else} -phone_setting.backgrounds = Resource:yealink_t54w_wallpaper.png +phone_setting.backgrounds = Resource:yealink_t77u_wallpaper.png {/if} {/if} diff --git a/resources/templates/provision/yealink/t88v/y000000000192.cfg b/resources/templates/provision/yealink/t88v/y000000000192.cfg index c09f5d74e..1b34f6f8e 100644 --- a/resources/templates/provision/yealink/t88v/y000000000192.cfg +++ b/resources/templates/provision/yealink/t88v/y000000000192.cfg @@ -1641,17 +1641,17 @@ features.power_saving.intelligent_mode = {$yealink_ps_intel_mode} ##2MB of space should bereserved for the phone ##remote wallpaper -{if isset($yealink_t54w_wallpaper)} -wallpaper_upload.url = {$yealink_t54w_wallpaper} -{if isset($yealink_t54w_wallpaper_filename)} -phone_setting.backgrounds = Config:{$yealink_t54w_wallpaper_filename} +{if isset($yealink_t88v_wallpaper)} +wallpaper_upload.url = {$yealink_t88v_wallpaper} +{if isset($yealink_t74u_wallpaper_filename)} +phone_setting.backgrounds = Config:{$yealink_t88v_wallpaper_filename} {/if} ##local wallpaper {else} -{if isset($yealink_t54w_wallpaper_filename)} -phone_setting.backgrounds = Resource:{$yealink_t54w_wallpaper_filename} +{if isset($yealink_t88v_wallpaper_filename)} +phone_setting.backgrounds = Resource:{$yealink_t88v_wallpaper_filename} {else} -phone_setting.backgrounds = Resource:yealink_t54w_wallpaper.png +phone_setting.backgrounds = Resource:yealink_t88v_wallpaper.png {/if} {/if} diff --git a/resources/templates/provision/yealink/t88w/y000000000192.cfg b/resources/templates/provision/yealink/t88w/y000000000192.cfg index 2ca831f48..45cd15fdd 100644 --- a/resources/templates/provision/yealink/t88w/y000000000192.cfg +++ b/resources/templates/provision/yealink/t88w/y000000000192.cfg @@ -1641,17 +1641,17 @@ features.power_saving.intelligent_mode = {$yealink_ps_intel_mode} ##2MB of space should bereserved for the phone ##remote wallpaper -{if isset($yealink_t54w_wallpaper)} -wallpaper_upload.url = {$yealink_t54w_wallpaper} -{if isset($yealink_t54w_wallpaper_filename)} -phone_setting.backgrounds = Config:{$yealink_t54w_wallpaper_filename} +{if isset($yealink_t88w_wallpaper)} +wallpaper_upload.url = {$yealink_t88w_wallpaper} +{if isset($yealink_t88w_wallpaper_filename)} +phone_setting.backgrounds = Config:{$yealink_t88w_wallpaper_filename} {/if} ##local wallpaper {else} -{if isset($yealink_t54w_wallpaper_filename)} -phone_setting.backgrounds = Resource:{$yealink_t54w_wallpaper_filename} +{if isset($yealink_t88w_wallpaper_filename)} +phone_setting.backgrounds = Resource:{$yealink_t88w_wallpaper_filename} {else} -phone_setting.backgrounds = Resource:yealink_t54w_wallpaper.png +phone_setting.backgrounds = Resource:yealink_t88w_wallpaper.png {/if} {/if}