I am getting read to roll out close to 100 polycom phones and wondered if any one knows of a program to take a list of MAC addresses, extensions, and names and generate the configuration files? -- Bruce Nortex Networks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060504/d3bb612a/attachment.htm
On Thursday 04 May 2006 14:45, Bruce Reeves wrote:> I am getting read to roll out close to 100 polycom phones and wondered if > any one knows of a program to take a list of MAC addresses, extensions, and > names and generate the configuration files?You can do this relatively easily with Perl. There is a script somewhere that will take your sip.conf and generate phone[exten].cfg files, but it knows nothing about MAC addresses and as such will not generate the [MACADDRESS].cfg files. Again though, this isn't too tricky to do. A few hours' worth of work. The tricky part would be making sure you got the right phone to the right desk if the extension #s are physically important. :-) If you need some help with the script I am available for consulting. Contact me offlist if this is something you'd like to discuss. -A.
Mojo with Horan & Company, LLC
2006-May-04 12:20 UTC
[Asterisk-Users] Tool for Polycom configurations
Something I made might help. http://www.horanappraisals.com/asterisk/polycom_addphone/ -- there is a script, addphone, and a folder called defaults that contains the templates. To use, I put the defaults folder and its contents and the addphone script in my ftp or tftp root. I would make sure that phoneX.cfg contains the proper reg password. and make sure 000000000000-directory.xml contains the global dir you want all phones to begin with. Then, from the (t)ftp root, run addone macaddress extension display_name i.e.: addone 001122334455 110 Mojo the results of this would be: Creating 001122334455.cfg to point to extension 110 Creating phone110.cfg for extension 110, DisplayName Mojo, to point to mac address 001122334455 Creating 001122334455-directory.xml from default company directory Done! Any questions feel free to ask me off-list. Moj Bruce Reeves wrote:> I am getting read to roll out close to 100 polycom phones and wondered > if any one knows of a program to take a list of MAC addresses, > extensions, and names and generate the configuration files? > > -- > Bruce > Nortex Networks > > > ------------------------------------------------------------------------ > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- Mojo <mojo@horanappraisals.com> Office Manger, Horan & Company, LLC (907) 747-6666 x112
The VoIP Connection
2006-May-04 12:26 UTC
[Asterisk-Users] Tool for Polycom configurations
Hi Bruce, We've written software to do this as a service for our customers. I can't give you the program, but we'd be willing to program your phones for you. Contact me off list. Michael Crown Managing Partner www.thevoipconnection.com 321.989.6728 ext. 611 sip:611@voiceserver.thevoipconnection.com _____ From: Bruce Reeves [mailto:asterisk@nortex-networks.com] Sent: Thursday, May 04, 2006 2:45 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Tool for Polycom configurations I am getting read to roll out close to 100 polycom phones and wondered if any one knows of a program to take a list of MAC addresses, extensions, and names and generate the configuration files? -- Bruce Nortex Networks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060504/2c2fc299/attachment.htm
Hi Bruce, We create a CSV file of our phone setup and then use shell scripts to parse them and generate <mac-address>.cfg, phoneXXXX.cfg, sip.conf, voicemail.conf and entensions.conf entries. Contact me off list if you would like a copy now (they're not quite ready for prime-time yet) - the rest of you will have to wait until they're finished :-) but I do intend to release a bunch of monkey-level helpdesk scripts that I am working on in the near future for managing basic MAC requests. Regards, -- Anthony Rodgers Business Systems Analyst District of North Vancouver Web: http://www.dnv.org RSS Feed: http://www.dnv.org/rss.asp On May 4, 2006, at 11:45 AM, Bruce Reeves wrote:> I am getting read to roll out close to 100 polycom phones and > wondered if any one knows of a program to take a list of MAC > addresses, extensions, and names and generate the configuration files? > > -- > Bruce > Nortex Networks_______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
You can use my script, based on Chris Mason's script, to do most of what you want, you can feed it your MAC's and Extensions and it will create the phones. Be warned, it's not pretty, my perl book was in storage so I did a lot of kludging. Feel fee to update. http://holburn.com/poly/poly-add-phone.pl Chad ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Bruce Reeves Sent: May 4, 2006 2:45 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Tool for Polycom configurations I am getting read to roll out close to 100 polycom phones and wondered if any one knows of a program to take a list of MAC addresses, extensions, and names and generate the configuration files? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060504/481756c7/attachment.htm