Hi I’m having a bit of an issue with a 401 unauthorized error. I have a SIP trunk between asterisk and a remote Metaswitch box, the problem is that the trunk is registered but Metaswitch is seeing a 401 unauthorized from my asterisk box. Inbound/Outbound calls are not working, I have been stuck on this for several days now. FYI I have the latest version of AsteriskNow installed, below is a debug of the error from asterisk side any help is appreciated.
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 22.214.171.124:5077;branch=z9hG4bKPjA5v.QPhthjprLMbZWqPudx17qMxk7Zqe;received=126.96.36.199;rport=5077
From: sip:[email protected]:5060;tag=r9qCY2LdNVanLbAczNqadg3eL8sunupF
To: sip:[email protected]:5060;tag=as1fde060c
CSeq: 61654 REGISTER
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="0480120a"