408 error when connecting to SIP server

Hi there. I’m new to PBX, I just spun up a new distro to replace my company’s existing machine. I’ve manually programmed a phone to connect to the new server, but I keep coming up with a 408 error. I’ve tried a different password, which temporarily gave me a 401 error. I changed it back and got a 408 error again. I’m not sure if I’m putting in the wrong port number for registry port, proxy port, or what. I’ve tried 5060, 5061, and 5160. The extension type is chan_sip. Help!

You already googled “asterisk sip 408 error” right? The answer to your question is probably in there.

Are you using a “real phone” or are you using “Zoiper”. This seems to happen a lot with Softphones.

Since the problem is a failure at the server (that’s what error code 408 means), the log file “/var/log/asterisk/full” should be able to give you some insight into the specifics.

Yes I googled that. When I changed the port from 5061 to 5060 it attempted to register the phone but is giving a 401 error.

[2018-02-05 18:38:57] NOTICE[28210] res_pjsip/pjsip_distributor.c: Request ‘REGISTER’ from ‘“Systems” sip:[email protected]’ failed for ‘192.168.200.89:5060’ (callid: a0020d65a52a9422) - No matching endpoint found
[2018-02-05 18:38:57] NOTICE[28210] res_pjsip/pjsip_distributor.c: Request ‘REGISTER’ from ‘“Systems” sip:[email protected]’ failed for ‘192.168.200.89:5060’ (callid: a0020d65a52a9422) - No matching endpoint found
[2018-02-05 18:38:57] NOTICE[28210] res_pjsip/pjsip_distributor.c: Request ‘REGISTER’ from ‘“Systems” sip:[email protected]’ failed for ‘192.168.200.89:5060’ (callid: a0020d65a52a9422) - Failed to authenticate

I have the username set to the extension and the password set to the secret in freepbx. I don’t have endpoint manager installed, because the license is in use on my existing system. (I’m building this new one to replace it.) But I would think that I should still be able to set this up manually. I’m just not sure why it’s not authenticating when the username and password are correct.

And this is a real phone. Aastra 6755i

Your phone is trying to register on the PJ-SIP port, but you don’t have extension 2028 configured to use PJ-SIP.

Thank you. That did the trick. As soon as I re-created the extension as pjsip it started working.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.