We sell and ship Polycom phones to customers pre-configured with our sip details.
When they are shipped to us, they come with ver 3.3.3 firmware. We then use TFTP to upgrade the firmware to 4.xxx. The next step is to configure them, we then go into each phone's web config and configure the phone with our details. This sounds easy enough, however when we ship 20+ phones to one customer it is a mammoth task and is draining our support resource.
I thought there has to be an easier way to do this. We don't have a provisioning server yet.
After doing some poking around online, and looking at the files that are used to upgrade the firmware via TFTP, I came across the 'site.cfg' file and wonder if this could be manipulated to have all our config settings except for the SIP username and password details. This would mean that, when the firmware is upgraded via TFTP our config is pulled at the same time, therefore the only thing we would need to do is add the SIP username and password resulting in massive time savings!
My questions are...
- Is this possible? if so where in this file do I make changes as their are multiple lines within the file that have the same field entry. E.g.. 'SNTP Server' is shown a few times within the file.
- Have I got it wrong and is their an easier way?
As always thank you all for you help on this
Thank you for your reply. Just confirm are these the articles I should be looking at?
yes these are the two posts that you should consider looking at.
Thank you for confirming that. I have had a look at those links and they are more for assigning SIP details to the phones. We can easily do this via the web GUI. We are looking more at the config details. E.g.. Time server, timezone, codecs, port, password for phone. That's sort of thing. If we can get this sent to multiple phones that would be awesome.
if you look at both my post's and understand the substitution and then simply add additional details like the SNTP server etc. to the Perl script then you will be able to create thousands of files within seconds. All you need is add the addtitional parameters within the script (I documented every section so it should be very easy) and then a a comma separated source file for Passwords and names.