Plantronics + Polycom. Now together as Poly Logo

Customize the base config or firmware file

SOLVED

Customize the base config or firmware file

So i am working on figuring out a deployment of phones for a new phone system. and in that process, i noticed that when i factory reset a phone there are three critical settings that are not the setting i need for ZTP to work. 

1. Provisioning server: FTP

2. DHCP:custom+op.66

Base profile: skype (some of the phones we have must have shipped with skype prof set) 

 

What i need 

1. prov server: HTTPS

2. DHCP: Static

2. base profile: generic

 

Now i did figure out how to do this by creating a config file and entering that in the Config_Files section of the 000000000000.cfg file. 

My custom config file settings looks like this. 

<device device.set="1" device.baseProfile.set="1" device.baseProfile="Generic" 
 device.dhcp.bootSrvUseOpt.set="1" device.bootSrvUseOpt="Static"
 device.prov.serverType.set="1" device.prov.serverType="HTTPS"/>

Edited by a moderator to use the correct parameters

But the issue is, after i factory reset the phone, it goes back to the original settings i mentioned at the start. The way i understand it, the VVX phones go back to the "last firmware installed" in this case, the firmware is hard set with the wrong settings. 

 

So here is my question:

Can i add the above custom config settings directly onto the 0000000000.cfg file ? So that i when i factory reset the phone, it will hold onto those custom settings ? I am guessing the 000000000.cfg is just a config file that maps to other config files. So even if i could put the settigns directly on the 00000000000.cfg file, i would still have the same issue.

 

so is there a way i can somehow modify the firmware file, so that those 3 settings i need are directly baked into the firmware file ? So that when the phones grab that firmware file, the settings will remain when i eventually have to factory reset them. 

 

Message 1 of 14
1 ACCEPTED SOLUTION

Accepted Solutions
SteffenBaierUK
Polycom Employee & Community Manager

Re: Customize the base config or firmware file 161

Hello @IsThisTheKrustyKrab ,

 

I must correct my original statement as ZTP is always last after the DHCP options. It sounds like your network has option 161 set somehow.

 

A log would show this or you can simulate this using this tool >here<


Best Regards

Steffen Baier

----------------
The title Polycom Employee & Community Manager is a community setting and does not reflect my role. I am just a simple volunteer in the community like everybody else. All posts and words are my own & do not represent the views of Employer.

----------------

Notice: This community forum is not an official Poly support resource, thus responses from Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge. If you need immediate and/or official assistance please open a service ticket through your proper support channels.
Please also ensure you always check the VoIP , Video Endpoint , Skype for Business , PSTN or RPM FAQ's

View solution in original post

Message 12 of 14
13 REPLIES 13
SteffenBaierUK
Polycom Employee & Community Manager

Re: Customize the base config or firmware file

Hello @IsThisTheKrustyKrab ,

 

Welcome back to the Poly Community.

I can only suggest you check this:

 

Oct 7, 2011 Question: How can I setup my Phone / Provisioning / Download / Upgrade / Update / Downgrade Software?
Resolution: Please check => here <=

 

Option 1:

 

Simply set up 2x separate DHCP options 160 and 161 pointing to a server of your choice where the phone downloads either an individual Mac or the 00000000000.cfg.

 

The String for the DHCP option can contain the protocol and username/password so this does it all automatically for you.

 

Please also check:

 

Oct 7, 2011 Question: What is the relevance of the 000000000000.cfg or <mac>.cfg?

Resolution: Please check => here <=

 

None of these ever contain any configuration and are just the transport mechanism to "explain" to the phone where to get things from. The Config_File section then details where the files are.

 

Oct 7, 2011 Question: Can I use substitutions when I provisioning my Phones?

Resolution: Please check => here <=

 

the above may also come in handy to make things easier

 

Option 2:

 

Register an account for ZTP. Details can be found >here<

 

The phones will need internet access and then connect and download their initial configuration from there and then can be pointed to a local server and/or Lens or other solutions like PDMS-E or RPRM or an 3rd party solution.


Please ensure to provide some feedback if this reply has helped you so other users can profit from your experience.

Best Regards

Steffen Baier

----------------
The title Polycom Employee & Community Manager is a community setting and does not reflect my role. I am just a simple volunteer in the community like everybody else. All posts and words are my own & do not represent the views of Employer.

----------------

Notice: This community forum is not an official Poly support resource, thus responses from Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge. If you need immediate and/or official assistance please open a service ticket through your proper support channels.
Please also ensure you always check the VoIP , Video Endpoint , Skype for Business , PSTN or RPM FAQ's
Message 2 of 14

Re: Customize the base config or firmware file

so that isnt really what i was looking for, but i understand what you are saying. Let me clarify what i meant. 

 

If I have a phone which after a factory reset has the ProvServerType = FTP 

 

if I create a custom cfg file, and add that to the 0000000000.cfg, and let the phone provision. that works just fine. 

 

but then if i do a factory reset after letting it provision. The ProvServerType=FTP. From what i understand that is because of the base firmware file. 

 

So i was more wondering how i can get a custom base firmware file. or customize it myself. so that those settings are baked into the base firmware file. 

Message 3 of 14
SteffenBaierUK
Polycom Employee & Community Manager

Re: Customize the base config or firmware file

Hello @IsThisTheKrustyKrab ,

 

I am unsure if you miss understood my reply or if you do not understand how our phones work.

 

You cannot modify the firmware of our phones. The basics as explained above have always worked like this from day one.

 

A last attempt to explain this and then I would either need other volunteers to spend their time or hand you over to our support team.

 

If you factory reset a phone the default values programmed at the factory are applied.

 

  • For a "normal" -025 openSIP SKU this means option 160
  • for a Skype or Lync SKU this means option 161

The phone will check these options but will always check with ZTP 1st. If you have the MAC addresses of these phones in ZTP they will get their initial configuration from there.

 

If there is no ZTP entry they will search for a local or cloud-based provisioning server based on the DHCP option 160/161 reply.

 

If there is either an individual <mac>.cfg or the 000000000000.cfg they will then load the configuration specified within the Config_Files part of the above.

 

Using this method you can simply configure phones to use whatever configuration you desire. No action is needed on the phone.

 

Maybe give this a read as well:

 

Aug 24, 2015 Question:What basic network data is sent and received by a Poly phone?

Resolution: Please check this post => here <=

 

The next step, as outlined above, is to call our support organization in your region.


If the unit is no longer within the warranty please be prepared to Pay Per Incident / PPI. This is all outlined in detail here

 

PPI may need to come via your reseller. 

If this is some sort of an Internet discounter providing your MAC address or your Poly devices serial will enable us to look up who would be able to support you. This may not be who you purchased the Poly device from.


Please ensure to provide some feedback if this reply has helped you so other users can profit from your experience.

Best Regards

Steffen Baier

----------------
The title Polycom Employee & Community Manager is a community setting and does not reflect my role. I am just a simple volunteer in the community like everybody else. All posts and words are my own & do not represent the views of Employer.

----------------

Notice: This community forum is not an official Poly support resource, thus responses from Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge. If you need immediate and/or official assistance please open a service ticket through your proper support channels.
Please also ensure you always check the VoIP , Video Endpoint , Skype for Business , PSTN or RPM FAQ's
Message 4 of 14

Re: Customize the base config or firmware file 161

the issue here, is i have 2 phones. 1 is a non lync, 1 is a lync. 

 

I have deleted all dhcp server and scope options. So there is no 66,160,161,120 configured in dhcp. 

Both are added in my ZTP portal. 

 

When i factory reset the non-lync. it works flawlessly with ZTP. When i factory reset the lync phone, ztp will not work. So i figured this was because of it being set to skype as the base profile after a factory reset. But i do not think that is the case. because even with skype set as the base profile. if i change the dhcp to static. and i change the prov server to https. then ZTP works just fine after a restart. 

 

i dont think what you said here is true "The phone will check these options but will always check with ZTP 1st" 

 

As i just did a test. I factory reset the lync phone. and then left the factory settings as is. provserver=ftp, dhcp=opt+66, baseprofile=lync. Except i changed the 161 to 160 on the phone. and then restart. and the phone worked perfectly with ZTP. 

 

As i stated there is NO 66,160,161 option configured in my DHCP. i deleted them. But the lync phone still will not auto prov with ZTP.

 

So is there an issue with 161 being set on the phone when trying to do ZTP? as it seems like 161 is blocking ZTP in some way. 

 

also your replies can kinda come off rude. 

Message 5 of 14
SteffenBaierUK
Polycom Employee & Community Manager

Re: Customize the base config or firmware file 161

Hello @IsThisTheKrustyKrab ,

 

Our spam filter decided that your reply's content or the frequency of them is Spam. This needs to be manually released by us volunteers.

 

Secondly, can I reminded you that this is the official Poly community run by Poly.

 

Administrators within this community are all volunteers and not paid to do their role so therefore can you keep your tone professional?

 

I had not seen any reference within these posts that you have access to ZTP and neither were any logs or Wireshark traces provided.

 

I can only advise you to either wait for other volunteers to reply or work with our Support Organization in your region.

 

Please ensure to provide some feedback if this reply has helped you so other users can profit from your experience.

Best Regards

Steffen Baier

----------------
The title Polycom Employee & Community Manager is a community setting and does not reflect my role. I am just a simple volunteer in the community like everybody else. All posts and words are my own & do not represent the views of Employer.

----------------

Notice: This community forum is not an official Poly support resource, thus responses from Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge. If you need immediate and/or official assistance please open a service ticket through your proper support channels.
Please also ensure you always check the VoIP , Video Endpoint , Skype for Business , PSTN or RPM FAQ's
Message 6 of 14

Re: Customize the base config or firmware file 161

do you know if dhcp option 161 causes issues with ZTP ? because that is what seems to be the core of the issue. 

 

if i factory reset a phone that comes with the base setting of 160. ZTP works fine. 

if i factory reset a phone that comes with the base setting of 161. ZTP will not work. 

Message 7 of 14

Re: Customize the base config or firmware file 161

so with a non lync phone. after factory reset, i see a pop up that says something like ZTP provisioning found ...

 

when i factory reset a lync phone, the first thing that comes up is "contatcting skype" and then "provisioning to skype failed"

 

But i thought you said the phones will always try to reach ZTP first. In this case that is not happening. 

 

The phone at hand is a VVX500

 

it is definitely seeming like 161 option is overriding the phone from trying to reach ZTP first. Can someone confirm ? 

Message 8 of 14

Re: Customize the base config or firmware file 161

any thoughts ? 

Message 9 of 14
SteffenBaierUK
Polycom Employee & Community Manager

Re: Customize the base config or firmware file 161

Hello @IsThisTheKrustyKrab ,

 

Just as a reminder, this is a community forum and not some chat support session.

 

I can only recommend you to check out the ReadMe1st in order to verify the do's and don'ts in order to get something out of the community.

 

You do have two options:

 

  1. Wait until a volunteer has something to add or they want to reply to you
    or
  2. Open a support ticket as already outlined
    If you have a phone within the warranty period this is free
    Outside the warranty, you need to pay PPI

This is all outlined in the ReadMe1st or the FAQ

Best Regards

Steffen Baier

----------------
The title Polycom Employee & Community Manager is a community setting and does not reflect my role. I am just a simple volunteer in the community like everybody else. All posts and words are my own & do not represent the views of Employer.

----------------

Notice: This community forum is not an official Poly support resource, thus responses from Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge. If you need immediate and/or official assistance please open a service ticket through your proper support channels.
Please also ensure you always check the VoIP , Video Endpoint , Skype for Business , PSTN or RPM FAQ's
Message 10 of 14