PJSIP stopped listening on port 5060 and I changed to 5160 and listening just fine. Any ideas as to why this would happen? CHAN_SIP driver is disabled and not loaded.
Side Note: Tried core restart now through gui Asterisk CLI but would not reload asterisk
BUT
asterisk -rx “core restart now” worked when at SSH/console access
Verified by lsof -n -i -P | grep 5060 where it would not show listening on 5160 after changing in gui and using gui CLI to run but then core restart now from ssh and listening showed 5160 was listening and 5060 was not.
Seems like I might have some sort of corruption going on. Is best bet to back config and restore to new box or is there something else to try first?
What’s even stranger is that changing the port to something other than 5060 allows the endpoints to register and then changing back to 5060 and restarting core allows the endpoint to again register. Seems like there is an entry made for the endpoint and because it has not expired then registration is allowed on port 5060, but not a single endpoint can register on port 5060 but all can initially register on port 5160 and then I can switch the listening port back to 5060 and change phones back to port 5060 and there are zero issues with registration. Very strange indeed, outside of a complete reload not sure where to even look to find this issue since asterisk reports listening on port 5060 when set to that port.
Don’t think that is the case here since 5060 traffic is never leaving the local network and still cannot register the phones AND 5060 works fine for reregistering phones after registering on a different port first.