Session Initiation Protocol (NOTIFY)
Request-Line: NOTIFY sip:192.168.125.130:5060 SIP/2.0
Method: NOTIFY
Request-URI: sip:192.168.125.130:5060
[Resent Packet: False]
Message Header
Via: SIP/2.0/UDP 192.168.125.104:6061;branch=z9hG4bK993282050
From: <sip:192.168.125.104:6061>;tag=dc94d
To: <sip:192.168.125.130:5060>
Call-ID: 000dc94d@192.168.125.104
CSeq: 2 NOTIFY
Contact: <sip:192.168.125.104:6061>
Authorization: Digest username="3045", realm="192.168.120.101", nonce="1542693954", uri="sip:192.168.125.130:5060", response="1a6937213bba9ee2cb4f817719aa2dd4", algorithm=MD5, cnonce="0a4f113b", qop=auth, nc=00000001
Authentication Scheme: Digest
Username: "3045"
Realm: "192.168.120.101"
Nonce Value: "1542693954"
Authentication URI: "sip:192.168.125.130:5060"
Digest Authentication Response: "1a6937213bba9ee2cb4f817719aa2dd4"
Algorithm: MD5
CNonce Value: "0a4f113b"
QOP: auth
Nonce Count: 00000001
<Authentication: Authorization: Digest username="3045", realm="192.168.120.101", nonce="1542693954", uri="sip:192.168.125.130:5060", response="1a6937213bba9ee2cb4f817719aa2dd4", algorithm=MD5, cnonce="0a4f113b", qop=auth, nc=00000001\r\n>
Max-Forwards: 70
Subscription-State: terminated
Event: check-sync
User-Agent: Grandstream UCM6202V1.0A 1.0.19.11
Content-Length: 0
计算Response:以下分解成三步
step1:HA1
= MD5(username:realm:password)
= MD5(3045:192.168.120.101:s1ptest)
= aa6cd595047e0bb133c8cd4245c1c963
step2:HA2
= MD5(method:uri)
= MD5(NOTIFY:sip:192.168.125.130:5060)
= 2954298774a1fcb6dc8fe1870d5e8b32
step3:Response
= MD5(HA1:nonce:nc:cnonce:qop:HA2)
= (aa6cd595047e0bb133c8cd4245c1c963:1542693954:00000001:0a4f113b:auth:2954298774a1fcb6dc8fe1870d5e8b32)
= 1a6937213bba9ee2cb4f817719aa2dd4
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)