Registration Failed: Forbidden

Correct credentials provided. Then also the app is throwing forbidden error.

Failed to register, status code 403
Now I’ve changed the port no to a non-standard port no.

pjsip log

<--- Received SIP request (602 bytes) from WSS:42.111.145.105:1252 --->
REGISTER sip:bp.erss.in:1443 SIP/2.0
Via: SIP/2.0/WSS 192.0.2.202;branch=z9hG4bK8024035
To: <sip:User1@bp.erss.in:1443>
From: "User One" <sip:User1@bp.erss.in:1443>;tag=ugdjn4mqrv
CSeq: 2 REGISTER
Call-ID: gn6ji6kca560rkq7f829
Max-Forwards: 70
Contact: <sip:pdv852h8@192.0.2.202;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 (Linux; Android 11; SM-A505F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Mobile Safari/537.36
Content-Length: 0


<--- Transmitting SIP response (316 bytes) to WSS:42.111.145.105:1252 --->
SIP/2.0 403 Forbidden
Via: SIP/2.0/WSS 192.0.2.202;received=42.111.145.105;branch=z9hG4bK8024035
Call-ID: gn6ji6kca560rkq7f829
From: "User One" <sip:User1@bp.erss.in>;tag=ugdjn4mqrv
To: <sip:User1@bp.erss.in>;tag=z9hG4bK8024035
CSeq: 2 REGISTER
Server: Asterisk PBX certified/18.9-cert4
Content-Length:  0

As you are using a certified version of Asterisk, you should be using your paid support contract. If you don’t have such a contract, you should upgrade to the latest community supported version (18.17.0 for the 18 major version).

Which channel driver? (Should be chan_pjsip for a certified version as support contracts don’t cover chan_sip.)

What is the contents of your channel driver configuration file? (The error is almost certainly something wrong in that.)

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