SPA942 Config File - Will Pay for Help

I have a few SPA942 phones that I need to reset to factory default. I have added a DNS record that points to my server for provisioning. My problem is that I’m not able to create a .cfg file. Willing to pay if someone can send me a simple file that sets the admin password to 1234 or something similar.

Have you Googled somthing like “SPA942 Reset to factory defaults.” & “SPA942 configuration.”

Looks like about a dozen entries for each.

BF

These phones were last used with Arena One hosted service. I can see in the settings that the provisioning URL is http://provisioning.arena1.com:80/phones/spa[mac].cfg. I added a DNS record pointing to my own server. This all works fine.

Now I simply need a cfg file that sets the admin password. Perhaps someone on this forum is using the Endpoint Manager module that can create the cfg file.

if they are not -NA models then you are SOL,if they are they should be able to be re-provisioned over tftp

I see enough info, as well as sample .cfg files in the google search to get you going.

BF

If you have a non -NA hardware then you will need to “fake” the IP address of the tftp server where the original “branded” provider is asking, tcpdump might help you here. then again it might not :wink:

These are NA model, so all good there. Arena One provisioned using http not tftp. The phone is looking for a specific configuration file:

http://provisioning.arena1.com:80/phones/spa[mac].cfg

I don’t have administrative access to the phone, so I can’t change the provisioning URL or HTTP to TFTP. However, I can trick the phone into looking at my server for the configuration file. All I need is a config file for the phone.

I have seen sample xml files online, but the phone is looking for cfg. I tried creating my own file in notepad, but the phone says it is corrupt.

Bill, kindly share a link to the sample .cfg file you found. I’m assuming I can save and edit to change the password.

Thanks in advance to those of you who have take the time to assist!

Then in whatever network they are in, in /etc/hosts

add

127.0.0.1 provisioning.arena1.com

to overide the DNS server there.

and arrange that phones/spa[mac].cfg is there in your httpd DocumentRoot

you could use the FreePBX end point manager to generate that .cfg file, then make it available to the phone on http.

Thanks, dicko. I don’t use FreePBX/Endpoint Manager. Will you please create the .cfg file for me? Just let me know your price.

No, I can’t. that would be against the conventions of this Forum. that would be your work or maybe have the guys at Shmooze do it for you :wink:

Linksys SPA Provisioning Guide

Thank you, Bill/w5waf. That answers my question. Looks like I need the spc.exe utility. They will find Jimmy Hoffa before I get a copy of this. On to plan B.

Jimmy wasn’t in there, however here is the link to the profile compiler:

http://www.cisco.com/cisco/software/release.html?mdfid=282414120&softwareid=282562500&release=5.1.8

Keep in mind some of the carriers use a custom hash.

12345 Yes 80 Yes

Thanks to SkykingOH, I downloaded the compiler and generated my own .cfg file. The phone now grabs this file, but the provisioning status is “failed” with reason “corrupt file”. I tried compiling again and same result.


Plain text config before compiling

***

*** SPA942 5.1.8 Configuration Parameters

***

*** System Configuration

Restricted_Access_Domains “” ;
Enable_Web_Server “Yes” ;
Web_Server_Port “80” ;
Enable_Web_Admin_Access “Yes” ;
Admin_Passwd “1234” ;
User_Password ! “1234” ;


Web Server Log

#Software: Microsoft Internet Information Services 5.1
#Version: 1.0
#Date: 2012-11-19 21:36:26
#Fields: time c-ip s-port cs-method cs-uri-stem sc-status
22:32:22 172.16.1.2 80 GET /phones/spa000e08de1d2c.cfg 200

As I said keep in mind “some carriers use a custom hash”

I wasn’t talking about the kind you smoke. When you buy these in quantity you get tools from Cisco to prohibit just what you are trying to do.

With the time you have invested in doing this you could have bought a case of phones.

Here is what I did to get the phone reset.

  1. Download Windows Server 2008 R2 Trial and installed DHCP and DNS servers, as well as IIS.
  2. I installed a domain controller and named the server arena1.com and set the local machine name to “provisioning”
  3. I gave the server an ip address of 10.0.0.1 and the DNS server pointed the phone to my local PC.
  4. After installing the IIS i placed a file in c:\wwwroot\phones\spaXXXXXXXX.cfg where the X’s are the mac address.
  5. I edited the .cfg file (which is nothing more than a blank text file) with the following text:

1234

  1. I booted up the phone, it came online for about 2 seconds and then reset. After the phone booted up again, i went to option 14 and entered 1234 and was able to factory reset the phone!

DONE!

I have also reset phones the same way that were locked using Ringcentral with equal success!

Here is what I did to get the phone reset.

  1. Download Windows Server 2008 R2 Trial and installed DHCP and DNS servers, as well as IIS.
  2. I installed a domain controller and named the server arena1.com and set the local machine name to “provisioning”
  3. I gave the server an ip address of 10.0.0.1 and the DNS server pointed the phone to my local PC.
  4. After installing the IIS i placed a file in c:\wwwroot\phones\spaXXXXXXXX.cfg where the X’s are the mac address.
  5. I edited the .cfg file (which is nothing more than a blank text file) with the following text:

1234

  1. I booted up the phone, it came online for about 2 seconds and then reset. After the phone booted up again, i went to option 14 and entered 1234 and was able to factory reset the phone!

DONE!

I have also reset phones the same way that were locked using Ringcentral with equal success!

The text in the cfg was is actually:

1234

Don’t know why it didn’t paste right the first time. :slight_smile: