View previous topic :: View next topic |
Author |
Message |
jlamanna at gmail.com Guest
|
Posted: Wed Mar 19, 2008 12:36 am Post subject: [asterisk-users] Getting config from SPA-941 or 942 phones |
|
|
Hi,
Is it possible to get the XML config off of a Linksys SPA-941 or 942 phone?
I've tried http://[ip address]/admin/spacfg.xml however that file
doesn't appear to exist.
Thanks. |
|
Back to top |
|
|
andres at telesip.net Guest
|
Posted: Wed Mar 19, 2008 1:37 am Post subject: [asterisk-users] Getting config from SPA-941 or 942 phones |
|
|
James Lamanna wrote:
Quote: | Hi,
Is it possible to get the XML config off of a Linksys SPA-941 or 942 phone?
I've tried http://[ip address]/admin/spacfg.xml however that file
doesn't appear to exist.
| Yes it is. It requires a 2 step process.
1. Configure the Provisioning Parameter "Report Rule" to point to your
tftp server and define a file.
For example: Report Rule tftp://192.168.3.110/spa941.xml
Create the file using the touch command #touch /tftpboot/spa941.xml
chmod 777 /tftpboot/spa941.xml
Also make sure the SPA Parameter Auth Resync-Reboot is set to NO.
2. Now generate a SIP Notify Message from your server with the 'report'
header. I generaly use sipsak for this (http://sipsak.org/)
First I generate a text file called report.txt
# cat report.txt
NOTIFY sip:$user$@$dsthost$ SIP/2.0
From: sip:$srchost$:$port$
To: sip:$user$@$dsthost$
Call-ID: 46324764346@$srchost$
CSeq: 1 NOTIFY
Max-Forwards: 70
Event: report
User-Agent: sipsak
Content-Length: 0
...and then I execute the command:
sipsak -s sip:1002 at 192.168.3.12 -G -f ./report.txt
(were 1002 is the username configured on the SPA and 192.168.3.12 is
it's IP Address)
This will cause the SPA to do a tftp put with all the XML config into
your spa941.xml file.
Andres
http://www.neuroredes.com
|
|
Back to top |
|
|
|