User called with two extensions offline. AOR show no IPs for the devices.
However, the devices were online with IPs.
Rebooted handsets (Sangoma S500)
Removed one from Endpoint Manager and re-added.
Reset it to defaults.
Still no registration.
Checked config on device. “Primary SIP Server” showed 10.74.1.250:
Correct IP, but no port specified, so yes, no way to register.
Other affected extension was the same.
I manually added the PJSIP port to the Primary SIP Server setting, saved, and rebooted the devices and they registered.
So the immediate problem is resolved, but has left me wondering what happened and why just two devices were affected, and how this could have persisted after removing from EPM and re-adding.
I renamed the bad XML file and rebuilt it with EPM. New file has the same defect.
We have seen this in the past, but I didn’t dig this deep before we deleted and recreated the extension, which fixed it. That required the user to reconfigure their voicemail, etc. so we’d like to know how to properly fix it.
Thanks, Lorne. I’m not sure I have the will to do the debate with support about whether this is an EPM Pro issue or a bug, or requires support credits. I’ve had several of those and they are exhausting.
I don’t mind buying support credits, but I do mind paying hundreds of $$ for support credits when most of them expire before we need to use. Expiring support credits is my biggest thorn with FreePBX/Sangoma.
Not wanting to hijack the thread but I wanted to second this. It’s tough forking over a few hundred for support (unrelated to stuff that you don’t need to buy support credits for) only to have them expire because I really don’t need to utilize support for 99% of issues that do come up as we are able to handle them on our own.
It just doesn’t feel good to have that happen to you and for sure goes into the calculation when trying to decide to spend money on new credits because we are hitting an issue that we just can’t figure out.
Yes, understood. And in the past there has been great debate about whether the problem is in a commercial module or a bug, or whether it’s in a non-commercial module.
In one case I spent months trying to get a bug acknowledged to great upset, including me posting bug reports and having them deleted. I was ultimately told by an exec that “…you’ll be f…(effed) if you ever need support again.”
A year or two later that same issue was accepted as a bug and fixed.
That’s the most severe instance, but far from the only time I’ve been told “it’s not a bug” or “this isn’t a problem with a commercial module.”
@lgaetz , if you sense is that this is an EPM Pro issue, I will open a ticket.
If EPM is writing that line to an xml file, it’s an EPM bug. It is likely caused by some unusual configuration on your setup, otherwise it would be a widespread issue, but EPM needs to handle it more gracefully than blindly writing an invalid host.
So a week later and support has agreed to submit a bug report, but told me “If they are not able to reproduce it locally they may not accept it.”
I told him that I’m not going to engage in (another) debate about what’s a bug and what’s not, and if they want to push back to contact you, @lgaetz. I have zero energy to invest in yet another argument in this area.
Support also said “this happens sometimes when the extension has been restored from a backup”. This is a system that was upgraded using the restore backup process.
Bottom line is that we need to know how to fix this without deleting and recreating the extension. I told support this.
Advised by support to upgrade to EPM Pro 184.108.40.206 (edge)
fwconsole ma downloadinstall endpoint --tag 220.127.116.11
Select all extensions, rebuild configs.
Delete config file for affected extension.
Check config for affected extension. No change; port still missing.
I also found this post. I’m not sure it’s related, but this is a problem we’ve seen on two separate systems after a backup/restore upgrade, just like this person: