[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
One CFG file for one phone
Author Message
xbow Offline
Junior Member
**

Posts: 5
Joined: Jul 2019
Reputation: 0
Post: #1
One CFG file for one phone
i'm stuck with this kind of problem: i have to generate two files (mac.boot & mac.cfg) for every my phone.
Description:
There are a number on Yealink phones (and GS too) which configured by autoprovisioning process from tftp server. i have such structure in the tftp server:

/ (root)
- y000000000000.boot (for brand new phones, it loads the network.cfg for VLAN settings)
|
--- yealink (dir for Yealink configs)
|
+-- network.cfg (sets network.vlan.*, local_time.*, auto_provision.*)
+-- sip_acc1.cfg (turn on account1 and sets sip_server.1.address)
+-- features.cfg (sets intercom, language, user_password for wui)
+-- ldap.cfg (sets ldap config)
+-- T23G.cfg
+-- T27G.cfg
+-- T40P.cfg
+-- <MAC>.boot (includes all (network,sip,features,ldap) CFGs, one of T*.cfg files, and <MAC>.cfg
+-- <MAC>.cfg (sets dhcp_host_name, and auth info for the account.1)


This structure gives me a flexibility in the configuration of yealink phone pool, but I have to generate both <MAC>.boot and <MAC>.cfg files for every phone.

I tried to move parameters form the <MAC>.cfg file to a bottom of the <MAC>.boot, it's doesn't work. I tried to use the y000000000000.boot but i've got the same result. I think common parameters do not work in *.boot files.

In other side, I tried to make <MAC>.cfg file with a sequence of a loading needed *.cfg files, but AFAIK include:config doesn't work in *.cfg.

Is there a way to separate common configuration parameters and a particular authentication information in defferent files?

Sorry for my English. I hope I described the problem clearly.
08-20-2020 01:39 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
xbow Offline
Junior Member
**

Posts: 5
Joined: Jul 2019
Reputation: 0
Post: #2
RE: One CFG file for one phone
(08-20-2020 01:39 PM)xbow Wrote:  i'm stuck with this kind of problem: i have to generate two files (mac.boot & mac.cfg) for every my phone.
... skiped...
Is there a way to separate common configuration parameters and a particular authentication information in defferent files?

The problem resoleved thanks to http://forum.yealink.com/forum/showthread.php?tid=41012

I made second y000000000000.boot file under /yealink directory:

Code:
#!version:1.0.0.1
#
overwrite_mode = 1
specific_model.excluded_mode = 0

include:config <tftp://prov.srv/yealink/network.cfg>

[T23G]include:config <tftp://prov.srv/yealink/T23G.cfg>
[T27G]include:config <tftp://prov.srv/yealink/T27G.cfg>
[T40P]include:config <tftp://prov.srv/yealink/T40P.cfg>

include:config <tftp://prov.srv/yealink/sip_acc1.cfg>
include:config <tftp://prov.srv/yealink/features.cfg>
include:config <tftp://prov.srv/yealink/ldap.cfg>

include:config <tftp://prov.srv/yealink/$MAC.cfg>

and <MAC>.cfg file for the phone:

Code:
#!version:1.0.0.1
## Automatically created configuration file ##

network.dhcp_host_name = ya1005

account.1.user_name = 1005
account.1.auth_name = 1005
account.1.password = sUp3rpacc
account.1.label = 1005
account.1.display_name = John Smith

and now the process is doing as i planned:

y000000000000.boot -> network.cfg -> T23G.cfg -> sip_acc1.cfg -> features.cfg -> ldap.cfg -> 805ec0160800.cfg

All works well !
(This post was last modified: 08-21-2020 05:03 AM by xbow.)
08-21-2020 05:00 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
  ISRG Root X1 cert not recognized by phone during auto provision chrisduncansb 2 1,942 05-21-2024 01:23 PM
Last Post: rlaager
Smile W73P dect phone not allowing to auto-provision as different extension Andi_Dee 0 2,997 10-12-2023 05:49 PM
Last Post: Andi_Dee
  How to disable Voicemail from .cfg in auto provisioning file? boniakowski 2 3,033 09-19-2023 12:03 AM
Last Post: boniakowski
  Need help auto provisioning a phone with Nextiva service. LittleDogTech 3 7,130 08-30-2022 06:28 PM
Last Post: complex1
  Marking Weekly Upgrade Interval - breaks phone ShaneTotalCare 0 3,952 10-16-2020 04:02 PM
Last Post: ShaneTotalCare
  Autoprovisioning different firmware phone SimoneAlceo 3 13,030 07-11-2020 12:00 PM
Last Post: complex1
  How to erase a parameter using autoprovision file Santi 1 7,764 06-21-2019 10:25 AM
Last Post: complex1
  Adding existing Yealink phone to RPS Stevev 1 8,694 01-16-2019 06:52 PM
Last Post: jolouis
  Ni file name in POST URLs [Was: How exactly are -local.cfg files POSTed to server ?] oliv 8 23,891 11-09-2018 01:58 PM
Last Post: jolouis
  Auto provisioning file names shane.caznet 1 9,723 10-12-2018 02:56 PM
Last Post: jolouis

Forum Jump:


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

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