Background image / Wallpaper

Status
Not open for further replies.

bittygroom

New Member
Apr 8, 2019
15
0
1
45
Has anyone gotten custom background images to work with fusion and yealink.

wallpaper_upload.url =
phone_setting.backgrounds = Config:yealink_t54w_wallpaper.png

the settings out of the 000000000096.cfg file.
I have tried to put these here with no luck.
1582049545387.png
I have looked under default settings and the is nothing there for wallpapers and i cant seem to find any documentation on how to correctly do this.
 

ad5ou

Active Member
Jun 12, 2018
884
195
43
It depends on which version fusion you are running you may already have this in your templates
Code:
wallpaper_upload.url = {$yealink_t54w_wallpaper}
{if isset($yealink_t54w_wallpaper_filename)}
phone_setting.backgrounds =  Config:{$yealink_t54w_wallpaper_filename}
{else}
phone_setting.backgrounds =  Config:yealink_t54w_wallpaper.png
{/if}
If so, you can set in default settings, domain settings, profile settings, or phone settings "name"yealink_t54w_wallpaper"Value"https://somedomain.com/awesomepic.png

If your cfg file does not have the above, you can add it yourself.

The "settings" in the fusionpbx gui only work if there is variable set in the template to match agaist.
 

bittygroom

New Member
Apr 8, 2019
15
0
1
45
My config looks like it only has what i posted is above.

wallpaper_upload.url =
phone_setting.backgrounds = Config:yealink_t54w_wallpaper.png
 

ad5ou

Active Member
Jun 12, 2018
884
195
43
If you are on 4.5 you can upgrade to get updated template. If not, you can add the variable to template then set variable in default, domain, or device settings
 

bittygroom

New Member
Apr 8, 2019
15
0
1
45
I am on 4.5.11 . was able to verify that my template does have the variables as you stated. Added
"name"yealink_t54w_wallpaper"Value"https://somedomain.com/awesomepic.png
to my device page and re-provisioned.
image did not change. it stayed default.
1582231641003.png
What am i doing wrong?


****Update****
1582235049429.png
Needed to add the second line with"name"yealink_t54w_wallpaper_filename"Value"awesomepic.png

Thank you So much for pointing me in the right direction.
 
Last edited:

ad5ou

Active Member
Jun 12, 2018
884
195
43
Yep. One for where file is and one to select it once it is on phone.
 

markjcrane

Active Member
Staff member
Jul 22, 2018
447
162
43
49
The template variable names are not allowed to have a period in the name use an underscore instead. So original screen shot show a variable name that used a period and this has a special meaning so its parts of the syntax which is why it doesn't work.
 
Status
Not open for further replies.