I’ve had an Asterisk 13 setup working perfectly for the past two or three months, but for the past couple of days my SIP trunk will start failing to register after about an hour of the server running.
Disabling/Enabling the trunk will do nothing, but rebooting will bring it back up for another hour before it goes down again.
I haven’t changed anything from the configuration settings. It might be a provider issue but their support is fairly terrible so I’d rather troubleshoot everything I can before calling them.
Thanks for any help!
Here’s the error log:
[2016-07-05 02:11:14] NOTICE chan_sip.c: – Registration for ‘115555555@11555555’ timed out, trying again (Attempt #1036)
[2016-07-05 02:11:34] WARNING chan_sip.c: Probably a DNS error for registration to 115555555@11555555, trying REGISTER again (after 20 seconds)
So, you have a real domain name, not a bogus ‘11555555’. This sequence of digits was confusing.
Anyway, your DNS configuration is rather strange - you seem to be running a nameserver on a local machine (at least, on its loopback interface), somewhere else in the internal network (192.168.1.1) and using open Google name servers.
If the issue arises again, the whole DNS configuration (and underlying network / iptables configuration) should be reviewed - this problem is not directly related to Asterisk.