I’m trying to use out of dialog MESSAGE to send text messages between two asterisk systems. There is a SIP trunk between the two systems. The flow is like this:
Asterisk A Asterisk B MESSAGE --> <-- 401 Unauthorized MESSAGE (with proxy-auth) --> <-- 401 Unauthorized
This repeats several times until Asterisk A gives up on the attempt.
Note that the response to the 401 contains a Proxy-Authoritzation header, not an Authorization header. Other SIP clients use an Authorization header and successfully authenticate.
Any help will be greatly appreciated .
Asterisk 10.12.1 from source with FreePBX 184.108.40.206 on Asterisk A and bare asterisk on Asterisk B