[YMCS/YDMP Free Trial Program]Yealink would like to offer Free Trial Program of Yealink device management service for our current eligible customers. You can see the details below.
https://www.yealink.com/ydmp-freetrial-2020


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
T32/T38 template issues with 3CX
Author Message
sunstatetech Offline
Junior Member
**

Posts: 30
Joined: May 2013
Reputation: 1
Post: #1
T32/T38 template issues with 3CX
I am having an issue getting a T32/T38 config file to generate properly with 3CX v11 SP4. Here's what I've done.

I have taken the stock T32/T38 template and copied it to a new template called "T32/T38 - Custom". The only settings I have changed in this template are the wallpaper settings. I have left the stock locations and simply changed the name of the .png from yealinkt32.png to yealinkt32custom.png. When I generate a new config with the custom template it does not populate any of the three wallpaper settings.

Here are the three settings in the template that were modified:

Code:
################################################################################​#######
##            Configure the access URL of the  Wallpaper and Screensaver             ##                                            
################################################################################​#######
{IF model=Yealink T32}
wallpaper_upload.url = http://%%pbx_ip%%:%%pbx_http_port%%/provisioning/logo/yealinkt32custom.png
screen_saver.pic.url = http://%%pbx_ip%%:%%pbx_http_port%%/provisioning/logo/yealinkt32custom.png
{ENDIF}

################################################################################​#######
##            Configure the access URL of the  Wallpaper and Screensaver             ##                                            
################################################################################​#######
{IF model=Yealink T38}
wallpaper_upload.url = http://%%pbx_ip%%:%%pbx_http_port%%/provisioning/logo/yealinkt38custom.png
screen_saver.pic.url = http://%%pbx_ip%%:%%pbx_http_port%%/provisioning/logo/yealinkt38custom.png
{ENDIF}

#Configure the phone background.
#If you set the custom image (new.png) as phone backgroup, the value is: phone_setting.backgrounds = Config:new.png
#If you set the system image (pictures(01).png) as phone backgroup, the value is: phone_setting.backgrounds = Resource:pictures(01).png

{IF model=Yealink T32}
phone_setting.backgrounds = Config:yealinkt32custom.png
{ENDIF}

{IF model=Yealink T38}
phone_setting.backgrounds = Config:yealinkt38custom.png
{ENDIF}

And here is the settings in the generated config file. As you can see they are blank.

Code:
################################################################################​#######
##            Configure the access URL of the  Wallpaper and Screensaver             ##                                            
################################################################################​#######


################################################################################​#######
##            Configure the access URL of the  Wallpaper and Screensaver             ##                                            
################################################################################​#######

#Configure the phone background.
#If you set the custom image (new.png) as phone backgroup, the value is: phone_setting.backgrounds = Config:new.png
#If you set the system image (pictures(01).png) as phone backgroup, the value is: phone_setting.backgrounds = Resource:pictures(01).png

Any ideas?
05-15-2013 06:33 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
CWR Offline
Moderator
*****

Posts: 717
Joined: May 2013
Reputation: 7
Post: #2
RE: T32/T38 template issues with 3CX
Hey Seth
I just replaced the png file with a new one... with the same name.
You didn't mention what firmware... I have 1 phone right now running 38.70.0.143 and this is what I find in the cfg file for that device:

Code:
################################################################################​#######
##            Configure the access URL of the  Wallpaper and Screensaver             ##                                            
################################################################################​#######


################################################################################​#######
##            Configure the access URL of the  Wallpaper and Screensaver             ##                                            
################################################################################​#######

wallpaper_upload.url = http://10.0.0.12:5000/provisioning/logo/yealinkt38.png
screen_saver.pic.url = http://10.0.0.12:5000/provisioning/logo/yealinkt38.png


#Configure the phone background.
#If you set the custom image (new.png) as phone backgroup, the value is: phone_setting.backgrounds = Config:new.png
#If you set the system image (pictures(01).png) as phone backgroup, the value is: phone_setting.backgrounds = Resource:pictures(01).png



phone_setting.backgrounds = Config:yealinkt38.png

and this is what I have in 3cx:
Code:
################################################################################​#######
##            Configure the access URL of the  Wallpaper and Screensaver             ##                                            
################################################################################​#######
{IF model=Yealink T32}
wallpaper_upload.url = http://%%pbx_ip%%:%%pbx_http_port%%/provisioning/logo/yealinkt32.png
screen_saver.pic.url = http://%%pbx_ip%%:%%pbx_http_port%%/provisioning/logo/yealinkt32.png
{ENDIF}

################################################################################​#######
##            Configure the access URL of the  Wallpaper and Screensaver             ##                                            
################################################################################​#######
{IF model=Yealink T38 v70}
wallpaper_upload.url = http://%%pbx_ip%%:%%pbx_http_port%%/provisioning/logo/yealinkt38.png
screen_saver.pic.url = http://%%pbx_ip%%:%%pbx_http_port%%/provisioning/logo/yealinkt38.png
{ENDIF}

#Configure the phone background.
#If you set the custom image (new.png) as phone backgroup, the value is: phone_setting.backgrounds = Config:new.png
#If you set the system image (pictures(01).png) as phone backgroup, the value is: phone_setting.backgrounds = Resource:pictures(01).png
{IF model=Yealink T32}
phone_setting.backgrounds = Config:yealinkt32.png
{ENDIF}

{IF model=Yealink T38 v70}
phone_setting.backgrounds = Config:yealinkt38.png
{ENDIF}

Seems to be working ok. just fior the heck of it - maybe try a shorter file name? send me your file if you want, and I will try creating a new template and see what happens...

Oh - and I just caught this - be sure to change the model of the phone within the template (like 6 or 8 places) to match the name and model at the top:
Code:
<type>phone-template</type>
    <version>29739</version>
    <time>2011-12-12 09:00:00</time>
    <name>Yealink T38 v70</name>
    <url>http://www.yealink.com</url>
    <models>
      <model>Yealink T32</model>
      <model>Yealink T38 v70</model>


Attached File(s)
.txt  t38.txt (Size: 195.57 KB / Downloads: 8)
(This post was last modified: 05-16-2013 06:27 AM by CWR.)
05-16-2013 06:16 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
sunstatetech Offline
Junior Member
**

Posts: 30
Joined: May 2013
Reputation: 1
Post: #3
Question RE: T32/T38 template issues with 3CX
Hey, what's up man, long time no talk? Smile

The problem with just replacing the stock image is that opens the doors for 3CX overwriting it down the road, same reason why you modify a copied template and not the original, it will eventually get overwritten by a service pack.

It may be a length issue now that you mention it, because originally I had yealinkt32-custom.png as the name and I couldn't even upload that to the phone manually until I removed the hyphen, so it's obviously picky. What's weird about that though is if you look at the stock wallpapers they have special characters in them "pictures (01)".png.

(05-16-2013 06:16 AM)craigreilly Wrote:  Hey Seth
I just replaced the png file with a new one... with the same name.
You didn't mention what firmware... I have 1 phone right now running 38.70.0.143 and this is what I find in the cfg file for that device:

Code:
################################################################################​#######
##            Configure the access URL of the  Wallpaper and Screensaver             ##                                            
################################################################################​#######


################################################################################​#######
##            Configure the access URL of the  Wallpaper and Screensaver             ##                                            
################################################################################​#######

wallpaper_upload.url = http://10.0.0.12:5000/provisioning/logo/yealinkt38.png
screen_saver.pic.url = http://10.0.0.12:5000/provisioning/logo/yealinkt38.png


#Configure the phone background.
#If you set the custom image (new.png) as phone backgroup, the value is: phone_setting.backgrounds = Config:new.png
#If you set the system image (pictures(01).png) as phone backgroup, the value is: phone_setting.backgrounds = Resource:pictures(01).png



phone_setting.backgrounds = Config:yealinkt38.png

and this is what I have in 3cx:
Code:
################################################################################​#######
##            Configure the access URL of the  Wallpaper and Screensaver             ##                                            
################################################################################​#######
{IF model=Yealink T32}
wallpaper_upload.url = http://%%pbx_ip%%:%%pbx_http_port%%/provisioning/logo/yealinkt32.png
screen_saver.pic.url = http://%%pbx_ip%%:%%pbx_http_port%%/provisioning/logo/yealinkt32.png
{ENDIF}

################################################################################​#######
##            Configure the access URL of the  Wallpaper and Screensaver             ##                                            
################################################################################​#######
{IF model=Yealink T38 v70}
wallpaper_upload.url = http://%%pbx_ip%%:%%pbx_http_port%%/provisioning/logo/yealinkt38.png
screen_saver.pic.url = http://%%pbx_ip%%:%%pbx_http_port%%/provisioning/logo/yealinkt38.png
{ENDIF}

#Configure the phone background.
#If you set the custom image (new.png) as phone backgroup, the value is: phone_setting.backgrounds = Config:new.png
#If you set the system image (pictures(01).png) as phone backgroup, the value is: phone_setting.backgrounds = Resource:pictures(01).png
{IF model=Yealink T32}
phone_setting.backgrounds = Config:yealinkt32.png
{ENDIF}

{IF model=Yealink T38 v70}
phone_setting.backgrounds = Config:yealinkt38.png
{ENDIF}

Seems to be working ok. just fior the heck of it - maybe try a shorter file name? send me your file if you want, and I will try creating a new template and see what happens...
(This post was last modified: 05-16-2013 06:32 AM by sunstatetech.)
05-16-2013 06:31 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
CWR Offline
Moderator
*****

Posts: 717
Joined: May 2013
Reputation: 7
Post: #4
RE: T32/T38 template issues with 3CX
Oh - and I just caught this - be sure to change the model of the phone within the template (like 6 or 8 places) to match the name and model at the top:


Code:
<type>phone-template</type>
     <version>29739</version>
     <time>2011-12-12 09:00:00</time>
     <name>Yealink T38 v70</name>
     <url>http://www.yealink.com</url>
     <models>
       <model>Yealink T32</model>
       <model>Yealink T38 v70</model>

I also uploaded my working template... filename is not custom... but check to ensure "model" is replaced everywhere. I found strange issues here.
05-16-2013 06:42 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
sunstatetech Offline
Junior Member
**

Posts: 30
Joined: May 2013
Reputation: 1
Post: #5
RE: T32/T38 template issues with 3CX
(05-16-2013 06:42 AM)craigreilly Wrote:  I also uploaded my working template... filename is not custom... but check to ensure "model" is replaced everywhere. I found strange issues here.

This was exactly it. Every field that referenced the old model name (the default Yealink T32) was not getting populated because it didn't match. Thanks.
05-18-2013 06:06 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Yealink T54W - disable wifi from template itops@vivcourt.com 2 5,091 01-25-2022 10:32 AM
Last Post: itops@vivcourt.com
  Setting up EXP50 wallpaper using a template jleyco 3 5,591 01-11-2022 01:52 AM
Last Post: Yisroel_MongoTEL
Sad RPS & Autoprovisioning issues 247-support 1 7,265 07-12-2018 07:02 PM
Last Post: johnkiniston
  T21P E2 and T27P Issues with voice.tone.country Spadhausen 0 4,373 10-03-2017 03:54 PM
Last Post: Spadhausen
  T23G Auto Provisioning Issues Billyy 11 30,778 09-14-2017 06:43 AM
Last Post: Lucia_Yealink
  Updating T46 AutoProvisioning Template for Expansion Module fcbayern 1 6,450 09-01-2017 08:14 AM
Last Post: Lucia_Yealink
  yealinkencrypt program issues entavoip 1 6,749 03-03-2016 10:43 AM
Last Post: Karl_Yealink
  CA issues lonvoice 13 30,480 05-28-2015 05:41 AM
Last Post: Flora_Yealink
Sad Configuration Generation Tool - Issues DrewMan 1 6,896 06-27-2014 04:07 PM
Last Post: Yealink Support
  PNP Provisoning on V7 Firmware Issues baddah 5 17,081 09-16-2013 04:45 PM
Last Post: Yealink Support

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication