Pjsip SIP/2.0 401 Unauthorized

Hi

My Sip client in asterisk work. but with res_pjsip no ! always SIP/2.0 401 Unauthorized
I put the sip header :slight_smile:

Authorization: Digest username=“6000”, realm=“asterisk”, nonce=“1558087467/499e468783b2582078dd400efc84731a”, uri=“sip:192.168.1.37”, response=“24c94a1c5576782edecd7ce57dda35cc”, algorithm=MD5, cnonce=“350319951066b1ce”, qop=auth, nc=00000006

always SIP/2.0 401 Unauthorized

401 is normal. The client should respond by authenticating itself.

You need to configure the password into your client, and make sure that its name is correct.

thx,

Yes, I create authorization header but has no effect.
On old Asterisk 1.4 its ok, not on Asterisk 1.6.3

1.6 is obsolete and does not support pjsip.

Ok, thx, which is the good version and where if possible ?

https://www.asterisk.org/downloads/asterisk/all-asterisk-versions

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