Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Getting config from SPA-941 or 942 phones


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
jlamanna at gmail.com
Guest





PostPosted: Wed Mar 19, 2008 12:36 am    Post subject: [asterisk-users] Getting config from SPA-941 or 942 phones Reply with 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.

Thanks.
Back to top
andres at telesip.net
Guest





PostPosted: Wed Mar 19, 2008 1:37 am    Post subject: [asterisk-users] Getting config from SPA-941 or 942 phones Reply with quote

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

Quote:
Thanks.

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users



Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services