Is the following request invalid?
REGISTER sip:10.10.10.10:5060 SIP/2.0
Call-ID: bc3ce6bfcce978df9a8f79833e141019@10.10.83.123
CSeq: 1 REGISTER
From: sip:myacount@10.10.10.10:5060;tag=bfc0e391
To: sip:myacount@10.10.10.10:5060
Via: SIP/2.0/UDP 10.10.83.123:5061;branch=z9hG4bKbc3c6be286877c54cb5af277433ffaa1;rport
Max-Forwards: 70
Contact: sip:myacount@218.25.101.171:5061
User-Agent: MY_PHONE
Expires: 120
Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,REFER,SUBSCRIBE,NOTIFY
Supported: replaces
Authorization: Digest uri=“sip:204.15.199.250:5060”,realm=“asterisk”,username=“myacount”,nonce=“264f9020”,algorithm=MD5,response="60564e2a56400bd19e8f9325fa5a6c3d"
Content-Length: 0
where;
10.10.10.10 - asterisk pbx’s address.
10.10.83.123 - client address behind NAT
218.25.101.171 - NAT’s external interface’s address
I think that the request is correct, but pbx return only “401”.
Crazy message, 401!!!
Who can fix this problem.
Thanks and regards.
xacker