brundle Posted June 4, 2008 Report Share Posted June 4, 2008 Does anyone have the lines necessary to add to the provisioning script to auto provision the Linksys SPA942 phones? This is a must for us before we settle on a PBX. Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted June 4, 2008 Report Share Posted June 4, 2008 Does anyone have the lines necessary to add to the provisioning script to auto provision the Linksys SPA942 phones? Just point the tftp server to the PBX. It should work already... Also make sure that you do provision the passwords (Admin/Ports/TFTP). The problem is here that Linksys requires their own little secret algorithm for encrypting config files, which they won't gibt to use (the secret, not the program ). Also, it helps if you are using Option 66 on DHCP. Quote Link to comment Share on other sites More sharing options...
brundle Posted June 4, 2008 Author Report Share Posted June 4, 2008 Doesn't look like the SPA942 has tftp options via the interface. Is it just a matter of specifying the tftp port after the IP of the pbx? And by setting passwords - do you mean the extension passwords? There is no place to specify password in Admin/Ports/TFTP Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted June 4, 2008 Report Share Posted June 4, 2008 Doesn't look like the SPA942 has tftp options via the interface. Is it just a matter of specifying the tftp port after the IP of the pbx? Just put the IP address in... Then the phone will automatically choose TFTP. And by setting passwords - do you mean the extension passwords? There is no place to specify password in Admin/Ports/TFTP The setting is called "Allow TFTP Password" - just set it to "always", then later when everything works you can lock this down. Quote Link to comment Share on other sites More sharing options...
brundle Posted June 4, 2008 Author Report Share Posted June 4, 2008 If I just give the phone the IP of the pbx: Profile Rule: 192.168.32.30 Then the phone doesn't register. In fact there are no log entries so it looks like it doesn't even try. Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted June 4, 2008 Report Share Posted June 4, 2008 If I just give the phone the IP of the pbx: Profile Rule: 192.168.32.30 Then the phone doesn't register. In fact there are no log entries so it looks like it doesn't even try. Hmm. Maybe better forget about TFTP... Check out the attached files (you can also put them into the html directory, if it does not exist yet create it). There it says you should out http://192.168.1.2//spa$MA.cfg (if 192.168.1.2 is a PBX IP address) into the Profile Rule. I assume you have put a MAC address or just a star into one of your extensions? There is some general information at http://wiki.pbxnsip.com/index.php/Prepare_...r_Plug_and_Play. spa_1st.txt spa_phone.txt Quote Link to comment Share on other sites More sharing options...
brundle Posted June 5, 2008 Author Report Share Posted June 5, 2008 1.) I posted the spa_phone file attached to the last post as spa_phone.xml 2.) I added this to pnp.xml and restarted pbxnsip: <file name="spa_phone.xml" encoding="xml"> <pattern>!spa_phone_([0-9a-f]{12})\.cfg!\1!</pattern> <vendor>Linksys SPAxxx</vendor> </file> 3.) In the profile field of the phone I pasted: http://192.168.32.30/spa_phone_$MA.cfg 4.) DHCP serves up option 66 as 192.168.32.30 5.) I tried entering both the MAC and * in the Bind Mac address field for an extension. It is almost as though the phone isn't trying to register with these settings. If I set the proxy address and specify a userid/password it regiaters no problem. Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted June 5, 2008 Report Share Posted June 5, 2008 http://192.168.32.30/spa_phone_$MA.cfg Try http://192.168.32.30/provisioning/spa_phone_$MA.cfg. Then the HTTP server knows that this file is for PnP. Quote Link to comment Share on other sites More sharing options...
brundle Posted June 5, 2008 Author Report Share Posted June 5, 2008 That did it. The phone is registered and usuable! I had to add the MAC address to the Bind MAC field for the extension I want the phone to register as. IF I put in * then the phone wouldn't register and I couldn't figure out how to associate the phone with the extension. So provisioning additional settings like dial plans, address books, etc... is done through the spa_phone.xml file correct? Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted June 5, 2008 Report Share Posted June 5, 2008 So provisioning additional settings like dial plans, address books, etc... is done through the spa_phone.xml file correct? Well, if you have something working now you can start doing your own changes. Now you can take the SPA documentation and drill deeper from there. Quote Link to comment Share on other sites More sharing options...
brundle Posted February 25, 2009 Author Report Share Posted February 25, 2009 Here are the steps I took to get my SPA941 and SPA942 phones auto-provisioned. All phones are running the 6.1.3(a) firmware. My PBX is running on a Windows 2008 64bit server. I first provisioned these phones under pbxnsip version 2.1.10. We are now running version 3.2. 1.) Posted the attached files in the PBX install dir \ html folder. You may want to merge the spa_phone section of the pnp.xml file with your existing pnp.xml file to not overwrite the settings for other vendors you may have already customized in that file. You will probably need to change the dial plan in the <!-- Dial Plan --> section of the spa_phone.xml file to suit your needs. 2.) Added the option 66 in the DHCP pool specifying the IP of the PBX server. 3.) Added the MAC address of the phone sets to the extensions - the Account \ Registration \ Bind to MAC Address field in the PBX admin for the domain. 4.) Make sure other customizations to the phone won't conflict - reset to factory defaults then continue after the phone resets. 5.) Browsed to the web GUI of the phone. Selected Admin Login and advanced mode. 6.) In the web GUI of the phone, on the Provisioning tab, in the Profile Rule field I pasted: http://<pbx server ip>/provisioning/spa_phone_$MA.cfg 7.) After saving the settings the phone resets. After a bit it should pick up it's configs from the PBX then reset again. You should now see the username and extension registered on the phone and in various fields in the phone's web GUI. There is much that can be customized and set via the template config files - ours is pretty default. That should do it. -b spa_phone_files.zip Quote Link to comment Share on other sites More sharing options...
rainbow2009 Posted April 28, 2009 Report Share Posted April 28, 2009 Such a very detailed guide. greatful for this pret auto Quote Link to comment Share on other sites More sharing options...
ranmori Posted May 29, 2009 Report Share Posted May 29, 2009 simulation credit auto I am not so knowledgeable about this matter. So i have to learn it. Thanks for the post. Quote Link to comment Share on other sites More sharing options...
pbxuser911 Posted June 10, 2009 Report Share Posted June 10, 2009 just tryed the exact directions, cant get it working does it matter that the PBX and the phones are on a diff network? Quote Link to comment Share on other sites More sharing options...
hosted Posted September 5, 2009 Report Share Posted September 5, 2009 does this work with the new proisioning method requiring username/password? never tried. Quote Link to comment Share on other sites More sharing options...
pbxuser911 Posted September 6, 2009 Report Share Posted September 6, 2009 i still have yet to get it working Quote Link to comment Share on other sites More sharing options...
hosted Posted September 19, 2009 Report Share Posted September 19, 2009 pbxnsip how does this work? I cant get http or tftp working. there seems to be no PNP for linksys on the new system Quote Link to comment Share on other sites More sharing options...
pbx support Posted September 20, 2009 Report Share Posted September 20, 2009 pbxnsip how does this work? I cant get http or tftp working. there seems to be no PNP for linksys on the new system TFTP should work if you set the mac address under the extension' registration tab. If you set the profile rule on the phone, it should work. https://pbxnsipsupport.com/index.php?_m=kno...kbarticleid=426 Quote Link to comment Share on other sites More sharing options...
pbxuser911 Posted September 21, 2009 Report Share Posted September 21, 2009 it does not work in a hosted set up is there any way to get this working even for hosted solutions? were not registering the phones on the same network the PBX is on Quote Link to comment Share on other sites More sharing options...
hosted Posted November 19, 2009 Report Share Posted November 19, 2009 this is driving me crazy. is this fixed in V4? can it be back ported? Quote Link to comment Share on other sites More sharing options...
mattlandis Posted March 25, 2010 Report Share Posted March 25, 2010 Did you get the steps to provision the linksys 941/942? Does anyone know if this link actually works? https://pbxnsipsupport.com/index.php?_m=kno...kbarticleid=426 I'm hoping not to spend the day trying to figure this out. (I already don't like this phone ;-) Matt Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.