SPA IP Phone: Extracting Configuration with spacfg.xml

Document

Mar 25, 2015 6:14 AM
Nov 23rd, 2010

Extracting a Configured Phone's Configuration

 

If you already have a configured and working phone, you can use the spacfg.xml command to display, in a browser, the phone's configuration. You can use this browser output as input for the xml configuration file. For example: Using Google's Chrome use the following URL:
view-source:http://<IP_address_of_phone>/admin/spacfg.xml

 

cap-0117.jpg

 

Copy and paste the contents of the browser into a file named for the MAC address of the phone. For example: spa002584d8d147.xml.

 

Note: Use the View Source menu option for Internet Explorer and Firefox browsers.

 

Forcing a Phone to Retrieve a Configuration

 

At some point in time, you will need to force a previously deployed and operational phone to retrieve a specific configuration. If you have an error in a phone's configuration profile, this is an easy way to direct the phone to the appropriate configuration. The phone will retrieve the configuration and subsequently update its profile rule. Here is how you can achieve this.

 

Force a phone to update its Provisioning tab > Configuration Profile > Profile Rule.

 

http://<Phone_IP_Address>/admin/resync?tftp://<Server_IP_Address>/<new_config>

 

Rebooting a Remote Phone

 

It is often more efficient to reboot a phone via the network. This will cause the phone to reboot and request the file specified in its Profile Rule. Here is how to accomplish this:

 

http://<Phone_IP_Address>/admin/reboot

 

Note: You cannot force a phone resync if the Admin access has been disabled in a profile.

 

Note: you cannot factory reset a password protected phone if you do not have its admin password.

<end>

wk@pro-internet.pl Mon, 03/23/2015 - 10:57

Hello! I use:

http://<ip_address>:<no_port>/admin/reboot&xuser=admin&xpassword=<password>

and I receive the following announcement:

405 Method Not Allowed !

What I am doing wrong ?

--

Thanks for help

Dan Lukes Mon, 03/23/2015 - 16:04

There's neither xuser nor xpassword parameter mentioned in this document.

Those parameters are used in config retrieval on SPA1x2 which this document is not dedicated to.

wk@pro-internet.pl Tue, 03/24/2015 - 01:52

That's true. But when I write only 'http://<Phone_IP_Address>/admin/reboot', I receive the login form. After logon, I receive the same effect: 405 Method Not Allowed !

Whether there is some way for reboot SPA112 via network using script language ?

Dan Lukes Tue, 03/24/2015 - 11:47

This document is dedicated to SPA IP Phones, so it doesn't apply to SPA112 (it is ATA gateway, not SPA IP phone). You didn't mentioned the device model, so I assumed it's an SPA IP phone - which assumption has been wrong. 

I decided not to pollute this document with further unrelated discussion. As your's issue is related to SPA112, create new discussion in ATAs, Gateways and Accessories, please.

Don't forged to mention the firmware of device in question.

 

Actions

This Document

Related Content