I am using Asterisk realtime database. Now I’m getting Registration failed.
<--- SIP read from WS:10.176.16.131:63926 --->
REGISTER sip:bp214.erss.in SIP/2.0
Via: SIP/2.0/WSS 192.0.2.251;branch=z9hG4bK8547653
To: <sip:201004@bp214.erss.in>
From: "bp" <sip:201004@bp214.erss.in>;tag=0smv8ff370
CSeq: 2 REGISTER
Call-ID: nseivej88qobhq50f17n
Max-Forwards: 70
Contact: <sip:bioooeu8@192.0.2.251;transport=wss>;expires=300
Allow: ACK,CANCEL,INVITE,MESSAGE,BYE,OPTIONS,INFO,NOTIFY,REFER
Supported: outbound, path, gruu
User-Agent: Browser Phone 0.3.20 (SIPJS - 0.20.0) Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
Content-Length: 0
<------------->
--- (12 headers 0 lines) ---
<--- Transmitting (no NAT) to 10.176.16.131:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/WSS 192.0.2.251;branch=z9hG4bK8547653;received=10.176.16.131
From: "bp" <sip:201004@bp214.erss.in>;tag=0smv8ff370
To: <sip:201004@bp214.erss.in>;tag=as6bb26eff
Call-ID: nseivej88qobhq50f17n
CSeq: 2 REGISTER
Server: Asterisk PBX 18.18.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="181fafd9"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog 'nseivej88qobhq50f17n' in 32000 ms (Method: REGISTER)
Scheduling destruction of SIP dialog 'nseivej88qobhq50f17n' in 32000 ms (Method: REGISTER)
<--- SIP read from WS:10.176.16.131:63926 --->
REGISTER sip:bp214.erss.in SIP/2.0
Via: SIP/2.0/WSS 192.0.2.251;branch=z9hG4bK8946386
To: <sip:201004@bp214.erss.in>
From: "bp" <sip:201004@bp214.erss.in>;tag=0smv8ff370
CSeq: 3 REGISTER
Call-ID: nseivej88qobhq50f17n
Max-Forwards: 70
Authorization: Digest algorithm=MD5, username="201004", realm="asterisk", nonce="181fafd9", uri="sip:bp214.erss.in", response="bec55cd91e9eeacf4386787ef0bf511a"
Contact: <sip:bioooeu8@192.0.2.251;transport=wss>;expires=300
Allow: ACK,CANCEL,INVITE,MESSAGE,BYE,OPTIONS,INFO,NOTIFY,REFER
Supported: outbound, path, gruu
User-Agent: Browser Phone 0.3.20 (SIPJS - 0.20.0) Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
Content-Length: 0
<------------->
--- (13 headers 0 lines) ---
<--- Transmitting (no NAT) to 10.176.16.131:5060 --->
SIP/2.0 403 Forbidden
Via: SIP/2.0/WSS 192.0.2.251;branch=z9hG4bK8946386;received=10.176.16.131
From: "bp" <sip:201004@bp214.erss.in>;tag=0smv8ff370
To: <sip:201004@bp214.erss.in>;tag=as6bb26eff
Call-ID: nseivej88qobhq50f17n
CSeq: 3 REGISTER
Server: Asterisk PBX 18.18.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0