Asterisk realtime database

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

realtime load sippeers name 201004

 Column Name  Column Value
          --------------------  --------------------
                            id  1103
                          name  201004
                      callerid  bp
                        secret  xxxxx
                       mailbox
                   accountcode
                       context  Internal
                      amaflags
                     callgroup
                     defaultip
                      dtmfmode  rfc2833
                      fromuser
                    fromdomain
                   fullcontact
                          host  dynamic
                      insecure  invite,port
                      language
                     md5secret
                           nat  force_rport,comedia
                          mask
                   pickupgroup
                   restrictcid
                    rtptimeout  120
                          type  friend
                      disallow  all
                         allow  opus,ulaw,vp9,vp8,h264
                   musiconhold
                    regseconds  0
                     useragent
                     regserver
                     transport  wss
                        ipaddr
                        lastms
                          port
                          avpf  yes
                    encryption  yes
                    icesupport  yes
                      rtcp_mux  yes
                    dtlsenable  yes
                    dtlsverify  fingerprint
                  dtlscertfile  /etc/certs/combined.pem
                    dtlscafile  /etc/certs/isrgrootx1.pem
                     dtlssetup  actpass
                  videosupport  yes
                    force_avpf  yes
                         realm  bp214.erss.in
                     srvlookup  no
                    mohsuggest  default
                    parkinglot  default
                    allowguest  no
              alwaysauthreject  yes
                maxcallbitrate  5120
               ignoreregexpire  no
                    notifyhold  yes
                 notifyringing  yes
                   callcounter  yes
                progressinband  yes
                       tos_sip  af42
                     tos_audio  ef
                       cos_sip  3
                     cos_audio  5
                  rtpkeepalive  60
                      jbenable  yes
                       jbforce  no
                     jbmaxsize  200
             jbresyncthreshold  1000
                        jbimpl  fixed
                         jblog  no
                     tcpenable  no
                     tlsenable  no
             websocket_enabled  yes
                   directmedia  no
              subscribecontext  subscriptions
                   defaultuser  201004
                allowsubscribe  yes
     outofcall_message_context  textmessages
         auth_message_requests  no
       accept_outofcallmessage  yes
                   udpbindaddr  0.0.0.0:5060
                      externip  x.x.x.x
                    call-limit
                      username
                       qualify  no

The isssue is resolved.

And what was the underlying issue?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.