[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
account settings ignored, other settings work
Author Message
mivk Offline
Banned

Posts: 9
Joined: Nov 2016
Post: #1
account settings ignored, other settings work
I'm trying to auto-provision T46G and T48G phones. They do get their macaddress.boot files from the TFTP server, and do correctly apply all settings, except the personal account settings, which seem to be completely ignored.

For example, a T48G is running firmware 35.81.0.15.

macaddress.boot :
Code:
#!version:1.0.0.1

account.1.enable = 1
account.1.label = 431-John IP.161
account.1.display_name = 431 John
account.1.user_name = 431
account.1.auth_name = 431
account.1.password = Start

overwrite_mode = 1

# SIP server, time, language, +phonebooks?
include:config "yealink-all.cfg"

Only the settings from the included "yealink-all.cfg" are applied. The account settings above are not.

The settings which do work are stuff like:

Code:
account.1.sip_server.1.address = asterisk.frenetic.lan
account.1.sip_server.2.address = 192.168.44.151
local_time.time_zone = +1
local_time.time_zone_name = None
local_time.dhcp_time = 1
local_time.ntp_server1 = time.frenetic.lan
local_time.ntp_server2 = 0.ch.pool.ntp.org
local_time.interval = 7200
# etc.

What can I do to make sure the account settings are also applied?

Thanks.
11-20-2016 12:55 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Karl_Yealink Offline
Super Moderator
******

Posts: 673
Joined: Apr 2015
Reputation: 5
Post: #2
RE: account settings ignored, other settings work
Hi,

The boot file only can recognize cfg path and overwrite_mode strings.
You can create an new cfg file, and add the account configuration string in this file.
Then add a cfg path string in boot file.

Just like
include:config "account.cfg"
11-21-2016 10:05 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
mivk Offline
Banned

Posts: 9
Joined: Nov 2016
Post: #3
RE: account settings ignored, other settings work
Thank you.

I have now tried to only have includes in the macaddress.boot file:

Code:
#!version:1.0.0.1

include:config "yealink-all.cfg"
include:config "linekey.cfg"
include:config "http://frenetic.lan/phones/yealink.php"
include:config "http://frenetic.lan/phones/test2.cgi"

overwrite = 1

The last included config (test2.cgi) prints the following with a content-type of "text/plain" :
Code:
#!version:1.0.0.1
account.1.enable = 1
account.1.password = Start
account.1.label = 430-Viktor
account.1.user_name = 430
account.1.auth_name = 430
account.1.display_name = Viktor

Still, all settings are applied, except the account settings.

I have also tried only including that account file and nothing else, but it made no difference.

Would anybody have a working configuration to share as an example?
11-21-2016 06:46 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
mivk Offline
Banned

Posts: 9
Joined: Nov 2016
Post: #4
RE: account settings ignored, other settings work
When the phone is reset to factory defaults, it does apply the account settings. But if they have been modified through the web interface, they are not applied at the next reboot.

My current macaddress.boot file :

Code:
#!version:1.0.0.1
include:config "http://frenetic.lan/phones/account.cgi"
include:config "yealink-all.cfg"
overwrite_mode = 1

Is it possible to force the overwriting of all settings on boot, even those which have been manually modified? I thought that "overwrite_mode=1" would do just that, but apparently not.
(This post was last modified: 11-23-2016 09:58 AM by mivk.)
11-23-2016 09:54 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
  Remote Phonebook settings lost.. bluetba 0 1,930 02-23-2023 07:52 PM
Last Post: bluetba
  account.X provisioning vieri 7 8,271 02-10-2023 07:02 PM
Last Post: vieri
  T32G - account.X.sip_trust_ctrl=1 LSlotow 0 3,597 10-02-2021 11:00 PM
Last Post: LSlotow
  settings are not updating from autoprovision server AdmshipYard 1 6,957 02-20-2021 04:20 PM
Last Post: AdmshipYard
  Update settings/reprovision automatically without factory reset FrankDRNS 2 9,912 05-01-2020 01:17 AM
Last Post: voipsupport
  Custom DECT Settings crew.di 4 11,266 11-08-2019 02:47 PM
Last Post: crew.di
  Firewall Settings for Auto Provisioning ChristophWHAT 2 15,128 02-04-2019 12:47 PM
Last Post: ChristophWHAT
Question Autoprovisioned settings reverting to defaults after a period of time Inline Computer Support 1 7,493 02-05-2018 09:58 AM
Last Post: Kevin_Yealink
  T48G and others - power saving settings Renke 0 5,215 01-11-2018 07:41 AM
Last Post: Renke
  custom "Abc" IME does not work! pavlinic 2 11,420 06-21-2017 11:19 AM
Last Post: Niksea

Forum Jump:


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

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