Client Connection Unauthorized

Just finished setting up a new installation of FreePBX 12 on Ubuntu 14.04 (trusty) and Asterisk 13.1.0. I’ve been going through the portal, setting up the config of the site.

I have chan sip chan pjsip created. I’ve added two users, configured their voicemail settings, and have assigned them both extensions.

Also have enabled these ports on the firewall:
SIP 5060/5061 TCP/UDP
IAX2 4569 UDP
RTP 10,000 –20,000 UDP
Manager 5038 TCP
H323 1720 TCP
Dundi 4520 UDP
Unistim 5000 UDP

Everything (from a server and FreePBX admin perspective) looks to be working.

However, when I use a softphone (like Zoiper) and try to connect as one of my configured users, the connection fails with a 401 (Unauthorized).

Any ideas on how to troubleshoot?

Start with the server logs first. You should see the server failing the call because of an authorization problem. Without seeing the logs, though, there’s no way we can help you.

Here’s what it said in the log:

> [2015-01-27 19:42:28] NOTICE[28778] res_pjsip/pjsip_distributor.c: Request from <sip:[email protected]> failed for '' (callid: PajokO3ImcsP1BoH1-ZrQQSHR2YnobVQ) - No matching endpoint found

I only want to allow softphones to make sip calls to other extensions.

Disclaimer: I’ve never setup a VOIP system before, so I’m sure there are newbie mistakes going on here…