Asterisk Digest Authentication for SIP INVITE gives “user mismatch” error
问题 I am building a basic SIP UA. I am sending the following INVITE, as seen in Asterisk console (only headers relevant to authentication are shown): INVITE sip:104@192.168.1.92 SIP/2.0 From: "110"<sip:110@192.168.1.92>;tag=80859256 To: <sip:104@192.168.1.92> Call-ID: 80859256 CSeq: 80859256 INVITE Via: SIP/2.0/UDP 192.168.1.92:6000;branch=z9hG4bK-80859256 Contact: <sip:110@192.168.1.92> In response, I get the following challenge: SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 192.168.1.92:6000;branch