Devices not registering after reboot, one more reboot fixes it

FreePBX 14, up to date. PJSIP Extensions

Today I powered off the server to attach a UPS. After it came up our Gigaset cordless and Cisco ATA wouldn’t register. I didn’t see any traffic being generated by FreePBX for these extensions. All our S500s acted normally, worked fine.

After exhausting my options with configuring the Gigaset, I figured I’d try a reboot. Boom, the ATA and Gigaset came right up.

I saw this in my asterisk log which I thought suspect, as it affected these devices:

[2017-09-13 14:03:49] VERBOSE[2900] res_pjsip/pjsip_configuration.c: Contact 218/sip:[email protected]:5060 has been deleted
[2017-09-13 14:03:49] VERBOSE[2900] res_pjsip/pjsip_configuration.c: Contact 210/sip:[email protected]:5060 has been deleted
[2017-09-13 14:03:49] VERBOSE[2900] res_pjsip/pjsip_configuration.c: Contact 211/sip:[email protected]:5060 has been deleted
[2017-09-13 14:03:49] VERBOSE[2900] res_pjsip/pjsip_configuration.c: Contact 555/sip:[email protected]:5060 has been deleted

Is the short answer here: Don’t use PJSIP?

I’ll add the only thing these extensions have in common is they are NOT Sangoma phones.

Doing some Googling… I think this might be the issue:

I was using a local server’s DNS and it probably wasn’t up when FreePBX came up. There’s apparently a reason there’s a big warning that says use 127.0.0.1 (local DNS relay in FreePBX), and THEN your DNS entries.

I’ve replaced the nameservers to public ones. It’s quite possible the reboot fixed it because the DNS server was up at that point.

1 Like