IP Trunk Registration not re-connecting after internet outage

Hi,

Wonder if someone can help me. I am fairly new to freepbx but am facing a issue after I lose internet connection. I can make outgoing calls fine when the ADSL connection comes back up but the IP Trunk does not re connect automatically and I am having to going into the GUI and pretend I am making a change to something and press apply config to get it to re connect. The logs show the below:

[2014-10-15 08:19:12] NOTICE[1772] chan_sip.c: Peer ‘XXXXXXXXX-SIP’ is now UNREACHABLE! Last qualify: 23
[2014-10-15 08:19:18] NOTICE[1772] chan_sip.c: – Registration for ‘[email protected]’ timed out, trying again (Attempt #2)
[2014-10-15 08:19:38] NOTICE[1772] chan_sip.c: – Registration for ‘[email protected]’ timed out, trying again (Attempt #3)
[2014-10-15 08:19:58] NOTICE[1772] chan_sip.c: – Registration for ‘[email protected]’ timed out, trying again (Attempt #4)
[2014-10-15 08:20:18] NOTICE[1772] chan_sip.c: – Registration for ‘[email protected]’ timed out, trying again (Attempt #5)
[2014-10-15 08:20:38] NOTICE[1772] chan_sip.c: – Registration for ‘[email protected]’ timed out, trying again (Attempt #6)
[2014-10-15 08:20:58] NOTICE[1772] chan_sip.c: – Registration for ‘[email protected]’ timed out, trying again (Attempt #7)
[2014-10-15 08:21:18] NOTICE[1772] chan_sip.c: – Registration for ‘[email protected]’ timed out, trying again (Attempt #8)
[2014-10-15 08:21:38] NOTICE[1772] chan_sip.c: – Registration for ‘[email protected]’ timed out, trying again (Attempt #9)
[2014-10-15 08:21:58] NOTICE[1772] chan_sip.c: – Registration for ‘[email protected]’ timed out, trying again (Attempt #10)
[2014-10-15 08:22:58] ERROR[1772] netsock2.c: getaddrinfo(“sip.XXXXXXXX.XXX”, “(null)”, …): Temporary failure in name resolution
[2014-10-15 08:22:58] WARNING[1772] acl.c: Unable to lookup ‘sip.XXXXXXXX.XXX
[2014-10-15 08:22:58] NOTICE[1772] chan_sip.c: – Registration for ‘[email protected]’ timed out, trying again (Attempt #11)
[2014-10-15 08:22:58] VERBOSE[1772] chan_sip.c: – Registered SIP ‘1003’ at 10.10.10.30:5060
[2014-10-15 08:23:58] ERROR[1772] netsock2.c: getaddrinfo(“sip.XXXXXXXX.XXX”, “(null)”, …): Temporary failure in name resolution
[2014-10-15 08:23:58] WARNING[1772] acl.c: Unable to lookup ‘sip.XXXXXXXX.XXX
[2014-10-15 08:23:58] NOTICE[1772] chan_sip.c: – Registration for ‘[email protected]’ timed out, trying again (Attempt #12)
[2014-10-15 08:24:58] ERROR[1772] netsock2.c: getaddrinfo(“sip.XXXXXXXX.XXX”, “(null)”, …): Temporary failure in name resolution
[2014-10-15 08:24:58] WARNING[1772] acl.c: Unable to lookup ‘sip.XXXXXXXX.XXX
[2014-10-15 08:24:58] NOTICE[1772] chan_sip.c: – Registration for ‘[email protected]’ timed out, trying again (Attempt #13)
[2014-10-15 08:25:58] ERROR[1772] netsock2.c: getaddrinfo(“sip.XXXXXXXX.XXX”, “(null)”, …): Temporary failure in name resolution
[2014-10-15 08:25:58] WARNING[1772] acl.c: Unable to lookup ‘sip.XXXXXXXX.XXX
[2014-10-15 08:25:58] NOTICE[1772] chan_sip.c: – Registration for ‘[email protected]’ timed out, trying again (Attempt #14)
[2014-10-15 08:26:58] ERROR[1772] netsock2.c: getaddrinfo(“sip.XXXXXXXX.XXX”, “(null)”, …): Temporary failure in name resolution
[2014-10-15 08:26:58] WARNING[1772] acl.c: Unable to lookup ‘sip.XXXXXXXX.XXX
[2014-10-15 08:26:58] NOTICE[1772] chan_sip.c: – Registration for ‘[email protected]’ timed out, trying again (Attempt #15)
[2014-10-15 08:27:58] ERROR[1772] netsock2.c: getaddrinfo(“sip.XXXXXXXX.XXX”, “(null)”, …): Temporary failure in name resolution
[2014-10-15 08:27:58] WARNING[1772] acl.c: Unable to lookup ‘sip.XXXXXXXX.XXX
[2014-10-15 08:27:58] NOTICE[1772] chan_sip.c: – Registration for ‘[email protected]’ timed out, trying again (Attempt #16)
[2014-10-15 08:28:58] ERROR[1772] netsock2.c: getaddrinfo(“sip.XXXXXXXX.XXX”, “(null)”, …): Temporary failure in name resolution
[2014-10-15 08:28:58] WARNING[1772] acl.c: Unable to lookup ‘sip.XXXXXXXX.XXX
[2014-10-15 08:28:58] NOTICE[1772] chan_sip.c: – Registration for ‘[email protected]’ timed out, trying again (Attempt #17)
[2014-10-15 08:29:58] ERROR[1772] netsock2.c: getaddrinfo(“sip.XXXXXXXX.XXX”, “(null)”, …): Temporary failure in name resolution
[2014-10-15 08:29:58] WARNING[1772] acl.c: Unable to lookup ‘sip.XXXXXXXX.XXX
[2014-10-15 08:29:58] NOTICE[1772] chan_sip.c: – Registration for ‘[email protected]’ timed out, trying again (Attempt #18)
[2014-10-15 08:30:58] ERROR[1772] netsock2.c: getaddrinfo(“sip.XXXXXXXX.XXX”, “(null)”, …): Temporary failure in name resolution
[2014-10-15 08:30:58] WARNING[1772] acl.c: Unable to lookup ‘sip.XXXXXXXX.XXX
[2014-10-15 08:30:58] NOTICE[1772] chan_sip.c: – Registration for ‘[email protected]’ timed out, trying again (Attempt #19)
[2014-10-15 08:31:12] NOTICE[1772] chan_sip.c: Peer ‘VOIPFONE-SIP’ is now Reachable. (23ms / 2000ms)
[2014-10-15 08:31:18] NOTICE[1772] chan_sip.c: – Registration for ‘[email protected]’ timed out, trying again (Attempt #20)
[2014-10-15 08:31:38] NOTICE[1772] chan_sip.c: – Registration for ‘[email protected]’ timed out, trying again (Attempt #21)
[2014-10-15 08:31:58] NOTICE[1772] chan_sip.c: – Registration for ‘[email protected]’ timed out, trying again (Attempt #22)
[2014-10-15 08:32:19] NOTICE[1772] chan_sip.c: – Registration for ‘[email protected]’ timed out, trying again (Attempt #23)
[2014-10-15 08:32:39] NOTICE[1772] chan_sip.c: – Registration for ‘[email protected]’ timed out, trying again (Attempt #25)
[2014-10-15 08:32:59] NOTICE[1772] chan_sip.c: – Registration for ‘[email protected]’ timed out, trying again (Attempt #26)

Any suggestions?

I am running FreePBX 2.11.0.27

?? i have this problem too

I also have the exact same problem, and I prefer logging into cli and just do a ‘core reload’ there, and it will reconnect to the trunks.

Basically it just show the trunks registered, but they are lagging, so it doesn’t accept any call nor dial out.

Does anybody have any solutions for this situation?