I just put up a new cloud server (FreePBX 16), I have same firewall rules for all servers so there should be nothing special to do.
I configure both a soft phone as well as a Cisco phone to connect as a test extension, but no matter what I do it tells me “wong password” in the logs.
I did create a short password as well as the larger more secure one, always resulting in the same wrong password.
I deleted the extension and created a new one, same result.
NO phones/extensions are authenticating
Any direction would be appreciated.
Server is 100% current.
[2022-06-02 13:47:26] NOTICE[22734]: chan_sip.c:29050 handle_request_register: Registration from ‘“120” sip:[email protected]’ failed for ‘2.2.2.2:50283’ - Wrong password
I do have PJSIP ONLY listening on 5060.
Under sip settings it says [chan_pjsip) and in advanced sip channel driver chan_pjsip (not both)
In Asterisk SIP Settings, chan_pjsip tab, under transport 0.0.0.0 (udp), Port to Listen On should be 5060. On the chan_sip tab, Bind Port should be something different. If you have changed any of these settings, after Submit and Apply Config, you must restart Asterisk.
If your PBX has a private IP address (AWS, GCP, etc.), confirm that the cloud firewall is not translating port numbers.
This is not actually a ‘wrong password’ issue – the phones should not be contacting chan_sip at all.
That’s for TLS. If that is what you are using, check Port to Listen on for 0.0.0.0 (tls) for pjsip and TLS Bind Port for chan_sip.
Run sngrep then reboot a phone so it tries to register. That will show you the port the request is coming in on. If it’s correct, your FreePBX settings have somehow not propagated to Asterisk. If it’s wrong, either the phone settings are messed up or you have a networking problem. Look at the softphone log to see the destination port it is using.