Код:
Received SIP PDU from ( IP ADDRESS:5060 )
SIP/2.0 100 Trying
Via: SIP/2.0/UDP IP ADDRESS:5060;branch=z9hG4bKe15df100a441;received=IP ADDRESS
From: "1002" <sip:1002@IP ADDRESS>;tag=e15df100a4
To: sip:1002@IP ADDRESS
Call-ID: e15f3b5d-e91e-f167-8000-0002a40a3de8@193.228.161.98
CSeq: 41 REGISTER
Server: YATE/5.4.0
Content-Length: 0
206 <SIP 41> : Receive 100 Trying
207 <SIP 41> : Transaction (41 REGISTER) proceeding
Received SIP PDU from ( IP ADDRESS:5060 )
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP IP ADDRESS:5060;branch=z9hG4bKe15df100a441;received=IP ADDRESS
From: "1002" <sip:1002@IP ADDRESS>;tag=e15df100a4
To: sip:1002@IP ADDRESS
Call-ID: e15f3b5d-e91e-f167-8000-0002a40a3de8@193.228.161.98
CSeq: 41 REGISTER
WWW-Authenticate: Digest realm="Yate", nonce="f3b7acddca773c67909bbe30f892b550.1564161934", stale=FALSE, algorithm=MD5
Server: YATE/5.4.0
Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO
Content-Length: 0
208 <SIP 41> : Receive 401 Unauthorized
209 <SIP 41> : Transaction (41 REGISTER) completed
210 <SIP 41> : Already done REGISTER for Authentication Required.
211 <SIP 40> : Set Terminated Success for 40 REGISTER
212 <SIP 41> : Set Terminated Success for 41 REGISTER
213 <Time 0> : SIP_TREGISTER timer timeout.
214 <SIP 41> : localPeer->registerStat(5)
215 <SIP 41> : ExistInRegList(localpeer) : TRUE
216 <SIP 42> : WriteREGISTER
217 <SIP 0> : No authentication information available
218 <SIP 42> : Send REGISTER Request