Using Chan_sip (and cant move to pjsip), I have a strange situation.
Client sends an INVITE, with credentials, he gets a 401 Unauthorized, and sends back an invite with the credential and response field => and gets a 403 Forbidden - immediately after, he retries and the INVITE is accepted. Same 401, different nonce of course, and then 200OK - (no other message is sent between the two calls)
The security log says invalid password. I’ve recalculated the MD5 hashes for both calls, and they are correct.
So why would one fail, and not the other ?