Hi all, I’m slightly tearing my hair out here, recently bought a few 5312’s to use with my PBX, And no matter what I do I’m seeing “failed to auth” in the asterisk logs, came across this post on the forum but have absolutely zero idea on how to get the hex password it’s talking about.
I know nothing about the 5312, but here are some general suggestions:
In the extension settings, choose a password consisting of no more than 12 letters and digits. Type it into the Secret field, and copy/paste it into the phone setting for password.
Also, in Asterisk SIP Settings, check the value of Port to Listen On (if using pjsip) or Bind Port for chan_sip. Confirm that the phone is registering to that port.
If you still have trouble, paste the Asterisk log for a failed registration, with pjsip logger or sip debug on, at pastebin.com and post the link here.
Appreciate the fast response, I noticed that the phones were limited to 20 char passwords so I manually set the secret for the extension, don’t think that’s the issue but I’ve been wrong before, both pjsip and chan_sip are enabled and on port 5060 which is what the phone tries to register to, log attached
LOG
They can’t both be on the same port on the same machine!
chan_sip has been changed to 5070, same result
Apologies for the rookie mistake, I’m still pretty new to all this
The log shows pjsip. Is extension 310 pjsip? If not, fix that. If yes, issue
pjsip set logger on
and paste a new log.
Did your restart the system after changing the port for PJSIP? Changing ports requires a restart of Asterisk.