[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
Boot files and wildcards?
Author Message
starion Offline
Junior Member
**

Posts: 31
Joined: Apr 2014
Reputation: 0
Post: #1
Boot files and wildcards?
I'm fairly new to auto provisioning so if I'm asking a dumb question, I apologize in advance.

I have two config files, one for our T23G phones in general, and then MAC config files that contains the SIP login information for specific phones.

I have found that you have to specify the MAC config files one by one in the boot file or they won't load. It seems a bit clunky that on top of generating unique MAC config files, one must also add the reference to it in the boot file.

Seems like there should be a way to tell the boot file to load every .cfg file it finds in a directory. I didn't see anything in the documentation.

Maybe include:config </MACCONFIGS/*.cfg> or some such thing.
09-23-2019 04:15 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
jolouis Offline
Moderator
*****

Posts: 339
Joined: Oct 2013
Reputation: 6
Post: #2
RE: Boot files and wildcards?
Not sure if this specifically helps you as I'm not certain how your provisioning is structured, but we use:

Code:
#!version:1.0.0.1

include:config <y000-$PN.cfg>
include:config <$MAC.cfg>

This is a rough emulation of the older style provisioning where the phone would request first a generic "model" level config, and then an additional MAC specific one. In this case, the phone automatically substitues $PN for the model number, and $MAC for its own mac. On our provisioning server we have it configured to send this specific file to any device that requests anything that ends in .boot. That way we don't have to generate tons of redundant files.

For example, a T23G with mac 805ec0124567 booting will be served:
y000-T23G.cfg
805ec0124567.cfg

On our server we solved the "wildcard" you are looking for by having the server concat all the files in the given folder together into the merged cfg. Sure it would be slightly cleaner if the phones pulled everything from a folder, but in our case that wouldn't achieve anything as we like to have the server generate/populate data into the templates as it spits them out into cfg files.

That's how we do it anyway.
09-23-2019 04:03 PM
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
  DTAF files for T31P on BroadSoft erictam 2 8,105 01-17-2023 05:08 PM
Last Post: toddcarson
  [REQ] Translatable language files FrankDRNS 3 13,866 02-19-2020 08:31 AM
Last Post: complex1
  y000000000000.boot and encrypted config files kapetrosyan 6 18,366 01-17-2020 11:22 PM
Last Post: kapetrosyan
  Ni file name in POST URLs [Was: How exactly are -local.cfg files POSTed to server ?] oliv 8 23,658 11-09-2018 01:58 PM
Last Post: jolouis
  default files generated by yealinkencrypt tool jeffrey.zhao@iptcloud.com 0 5,297 08-13-2018 10:51 AM
Last Post: jeffrey.zhao@iptcloud.com
  Language files for T42 sandro84 1 7,365 04-23-2018 05:08 AM
Last Post: Evan_Yealink
  How exactly are -local.cfg files POSTed to server ? oliv 1 8,202 03-20-2018 08:02 AM
Last Post: oliv
  Language files for T46G & T48G camouflageX 2 11,464 07-25-2017 06:53 PM
Last Post: Kamik
  Upgrade firmware error from tftp boot server guillosur 1 9,623 05-05-2016 06:18 AM
Last Post: Karl_Yealink
  Files Needed For Firmware Rescue Boot Rggoalie3 3 13,472 09-17-2015 05:49 AM
Last Post: Rggoalie3

Forum Jump:


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

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