SIP 注册过程,终端收到服务器的401后,不再发送(带有认证信息)的注册请求
J.1.1 Registersip:SIP服务器编码@目的域名或IP地址端口SIP/2.0
Via:SIP/2.0/UDP 源域名或IP地址端口
From:<sip:SIP设备编码@源域名>;tag=185326220
To:<sip:SIP设备编码@源域名>
Call-ID:ms1214-322164710-681262131542511620107-0@172.18.16.3
CSeq:1Register
Contact:<sip:SIP设备编码@源IP地址端口>
Max-Forwards:70
Expires:3600
Content-Length:0
J.1.2 SIP/2.0401Unauthorized
To:sip:SIP设备编码@源域名
Content-Length:0
CSeq:1Register
Call-ID:ms1214-322164710-681262131542511620107-0@172.18.16.3
From:<sip:SIP设备编码@源域名>;tag=185326220
Via:SIP/2.0/UDP源域名或IP地址端口
WWW-Authenticate:Digestrealm="64010000",nonce="6fe9ba44a76be22a"