The end point manager is creating configuration files with pre-populated values instead of variables so they are dynamic as they should be.
My example would be in creating the spa504.cfg which is referred to as global.cfg I created this:
As you can see there is a variable in place for “Station_Display_Name group” so that each users name is displayed on the top right of the phone, contrary to lets say the Default_Ring which we set to 10 and is fixed.
Once we create this “main” template the spa504 it should never change, and should look exactly like this on the server.
The problem is that when we write the files do disk and apply them to the phone, the sysem is writing the above so that it looks like this:
As you can see above “Bob Smith” is now on every phone. There are a few other little similar issues, but I made soo many changes to my configs in trying to troubleshoot the problem that I can’t detail them as well as this one.
Now to be fair, let me make sure I get this process perfect:
Build the template for the global.cfg file as well as the $mac.cfg.
The global.cfg becomes the model of the phone cfg, in this case spa504.cfg
push the two configs to the tftp, the phone syncs and we have applied those configs.
the spa504.cfg is the main file the phone reads and then it calls the spaMACXXX.cfg file which is the individually customizable file.
OK I would like to use a global.cfg, and didn’t realize that existed ( sorry about that ), BUT if your in a mixed phone environment the spa504G.cfg, spa525G.cfg and lets say spa942.cfg would all be considered global configurations for each model, and the only file that should be generated with static information should be the spaMACADDRESS.cfg.
Am I saying that correctly?
In my example, I have 2 people in the office and on the top right of the phone display they both say “Bob Smith”
Bob smith is a user on the system Yes… and if you edit the global file while working on Bob Smiths config, then its adding that to the global model file.
Now are there some rules as to what options we should put where?
I “assumed” bad thing to do, that if I wanted 30 settings to be the same on all phones I could put them in the main file and the rest of the settings can be in the individual file. I also thought that the spa504g.cfg file since it was a main file should never be written to with static data.
The variables you see such as “{$displayname.line.1}” the phone will never see. These variables are sent to Endpoint Manager and endpoint manager will replace them.
Therefore when you generate configs the spa504g.cfg file gets written over for every phone you have. Eg for you it gets written over twice, Bob Smith being the last time it gets written over.
Like I said simply move <Station_Display_Name group="Phone/General">{$displayname.line.1}</Station_Display_Name> to the spaMAC.cfg file and you’ll be file.
Im not in the right mode on my computer to be editing the SPA configs right now but if you are saying the station display name is in the wrong file then I’ll just have to move it.
OK let me review this with you to make sure this makes sense.
spa504.cfg is the “main/general/global” configuration file.
This is where you put global settings you want ALL of the 504G’s to use.
The phone reads that file first and builds spaMACADDRESS.cfg which is more of the individual settings. Correct?
If so, then when that master file gets values written to it ( like bob smith ) thats wrong, because then ALL the phones say Bob Smith.
If it wrote Bob smith to the spaMACADDRESS.cfg that would be ok.
OK, so where am I confused if what I pasted was the spa504g.cfg file??
Thats what I’m trying to say, the global file which is for all the phones is being written to with static information.