Works great, except when the device requires auth

Comment on Asterisk config sip_notify.conf
schneis
Joined: Sat 17 of Dec, 2005

Works great, except when the device requires auth

Posted:Thu 22 of Dec, 2005 (09:35 UTC)
I tried testing out the "sipura-check-cfg" notify against my SPA-2000. Here's a partial packet capture from a "sip notify sipura-check-cfg 1001" command:


NOTIFY sip:1001@10.0.0.78:5060 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:5060;branch=z9hG4bK3abc7c7e
From: "asterisk" <sip:asterisk@127.0.0.1>;tag=as3daba298
To: <sip:1001@10.0.0.78:5060>
Contact: <sip:asterisk@127.0.0.1>
Call-ID: 602150cd47fec63169d333f8765a3afd@127.0.0.1
CSeq: 102 NOTIFY
User-Agent: Asterisk PBX
Max-Forwards: 70
Event: resync
Content-Length: 0


SIP/2.0 401 Unauthorized
To: <sip:1001@10.0.0.78:5060>;tag=9910a71c2499573di0
From: "asterisk" <sip:asterisk@127.0.0.1>;tag=as3daba298
Call-ID: 602150cd47fec63169d333f8765a3afd@127.0.0.1
CSeq: 102 NOTIFY
Via: SIP/2.0/UDP 127.0.0.1:5060;branch=z9hG4bK3abc7c7e
Server: Sipura/SPA2000-3.1.5
WWW-Authenticate: Digest realm="asterisk........", nonce="1815f24a", qop="auth", algorithm=md5
Content-Length: 0