Yeah, this is an old post, but i have been searching for a solution. Here is what I found. First, I downloaded the SPC for the firmware i am using (in my case 1.3.5). I then ran the command to generate a sample XML just like you did: spc --sample-xml test.xml
I then edited the SAMPLE XML (i did not use the XML from the http://IP/admin/config.xml output). Once i made my changes i placed my new XML on a accessible TFTP server to my SPA and ran the following command:
http://DEVICEIP/admin/resync?tftp://TFTPSERVER/new_config.xml&xuser=admin&xpassword=admin This was from page 21 of the PDF: http://www.cisco.com/c/dam/en/us/td/docs/voice_ip_comm/csbpvga/spa100-200/provisioning/guide/SPA100-200_Provisioning.pdf
I saw the SPA immediately pick the file up from my TFTP server. After about 30 seconds my continuous ping stopped, the device rebooted and when it returned my newly created XML took the place of all the default config settings.
Hopefully this helps someone else from wasting a few hours.
Network Address Translation (NAT) Settings for Lines on PAP2T and SPA3102 Phone Adapters
The objective of this document is to configure Network Address Translation (NAT) settings for the lines of communication on the PAP2T ...
Speed Dial Settings on SPA100 Series
Speed Dial Buttons are often used to make the process of calling regularly used contacts quicker and with one button. This option is used in place of dialing the entire phone number in. ...
Firmware Upgrade on SPA112 and SPA122
To upgrade the firmware a specific file must be downloaded from the Internet and uploaded to the device. Upgrading your devices can be very useful. Firmware upgrades can fix software bu...