Sip Trunk Failing To Register Causes Sip Phones To Become Unreachable

Home » Asterisk Users » Sip Trunk Failing To Register Causes Sip Phones To Become Unreachable
Asterisk Users 4 Comments

Hi,

I have only seen this problem when using SIPgate SIP trunks which actually “register”. If the ADSL connection goes down that the sip trunk uses, the sip phones registered locally become unreachable. This happens on any 1.6.x or 1.8 version of asterisk I’ve tried. Is there a work around that doesn’t involve putting an opensips server between the asterisk server and the sip trunk?

Thanks.

Regards, John

4 thoughts on - Sip Trunk Failing To Register Causes Sip Phones To Become Unreachable

  • This is a common issue that I’ve seen many times. The problem has to do with DNS cache look-ups and timeouts. What typically solves it for me is to install a local cacheing-only DNS server on the asterisk box and point the resolvers on the asterisk box to itself. This will only solve the issue of an internet outage causing the sip phones to stop working, and only for as long as the local cache stays relevant. If there is a power outage that takes out both the asterisk server and the internet, and your asterisk box comes up but your internet doesn’t, this won’t work.

  • Adding the IPs of ALL local interfaces to /etc/hosts has helped solve this issue for me in the past.

    —–Original Message—