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
MGCP 2727 UDP
SCCP 2000 TCP
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?