Can't register SIP device after new Free PBX install. FreePBX 13

I have Polycom vvx310 phones. Under a previous FreePBX installation (6.12.65-30) I had two of the phones working, extensions 100 and 101. I then wiped out my previous installation because I was just experimenting at this point and didn’t need to be up and running just yet. I am now running FreePBX 13 (10.13.66, Asterisk 13).

When I added in the two extensions, using the same phones with the new secrets, I could not get them to register with the PBX server. The extensions are setup as SIP (not PJSIP). The add new extension screen says that SIP uses port 5061. I had previously used 5060 and so ignored the 5061 and went with 5060 and the phones could not register. I then switched to 5061 with the same results. Note that although the add extnesion screen said SIP uses 5060, the advanced tab screen for extension 100 had the port set to 5060. I was guessing maybe registration is done through one port and the rest of it is through another port.

Polycomm’s web phone setup has SIP Server setup and SIP Outbound Proxy setup. These both take port numbers and it isn’t clear to me if they should be the same port. There is also a SIP Line Identification in which the secret is used.

In order to get clear debugging information I set all ports to 5060 and used a secret to match my line number (100).

The following is the CLI output when the phone tries to register (or authorize) with the PBX server.

Connected to Asterisk 13.5.0 currently running on localhost (pid = 8928)
[2015-11-16 15:09:34] WARNING[9055]: chan_sip.c:16653 check_auth: username mismatch, have <100>, digest has <>
[2015-11-16 15:09:34] NOTICE[9055]: chan_sip.c:27498 handle_request_subscribe: Failed to authenticate device “Thorpy Gumflap” sip:[email protected];tag=C6D9D4EF-6D3BE76E for SUBSCRIBE
[2015-11-16 15:09:35] WARNING[9055]: chan_sip.c:16653 check_auth: username mismatch, have <100>, digest has <>
[2015-11-16 15:09:35] NOTICE[9055]: chan_sip.c:27875 handle_request_register: Registration from ‘sip:[email protected]’ failed for ‘192.168.1.5:5060’ - Username/auth name mismatch
[2015-11-16 15:09:41] WARNING[9055]: chan_sip.c:16653 check_auth: username mismatch, have <100>, digest has <>
[2015-11-16 15:09:41] NOTICE[9055]: chan_sip.c:27498 handle_request_subscribe: Failed to authenticate device “Thorpy Gumflap” sip:[email protected];tag=C16B15F4-378E46C3 for SUBSCRIBE
localhost*CLI>

Note that NAT is set to enable because that is how I had it setup previously, but from what I understand, it is not necessary because all my phones are on the same LAN behind the firewall.

Cheers!

you have to check the username? or delete the one, recreate a new one and have a try?

I have deleted the user and re-created the user under User Management module and used a different secret. Still the same result. I am not clear on where the user name comes from. When the debug output says “have <100> digest has <>” I am not sure what the digest is and how it can possibly be empty. Where does the digest get its user name from?

I have figured out the problem. First of all, as noted everywhere in the literature, the correct port to use for registration and proxy settings is 5061 for CHAN SIP. The phone itself listens on 5060 and that doesn’t seem to be easy to change, nor do I want to. However, the big discovery was that Simple Setup in Polycom’s VVX310 was not sufficient to perform registration because another setting under Settings->Lines[Authentication] had a radio button setting ‘Use Login Credentials’ which was enabled. So, all that userid and password stuff I was setting in the Authentication fields was being ignored because the phone was using my device login credentials to register which had nothing to do with my extension login in FreePBX. Tell the world!

hello. I am having a similar problem. I am using a computer as a server and have installed freepbx in it. I am using softphones to have intranet calls. Where can i find ‘use login credentials’ radio button in freepbx GUI?