Alex728
Guru
- Joined
- Dec 22, 2007
- Messages
- 416
- Reaction score
- 1
There's been a number of threads on here about people losing both internal and external call functionality when the Internet link goes down, and various workaround suggested (such as implementing caching DNS, using a SPA3102 spare trunk etc)
I've certainly tried implementing BIND but it didn't seem to do much and the Linksys ATA's/IP phones also tend to go a bit pear shaped (dropping audio after exactly 20 seconds) if there is no external net connection, although this now only seems to happen after a few minutes (so if the net is lost for <5 minutes things seem to stay working)
whilst looking for something else in /var/log/messages I found this from the last time our office net connection went a bit flakey.
The in built DNS server in the office router (a BT Business Hub returns the domain homeportal.gateway.2wire.net if it cannot get an external connection - on a browser this shows a BT logo and a message about the lack of connection)
but what this appears to show is that despite all the ATA's and IP phones in my office being set up with dotted IP addresses, Asterisk has invented a "hostname" which is the extension, then "-" then a 8 digit hex number (I replaced by nnnnnnnn in case this was a security risk to post it here) and then .local - and for some inexplicable reason trys to get DNS to resolve it
what seems more confusing is the hex number after the extension changes with each different attempt to resolve the "domain"
I've no idea what happens during "normal" operation but I've posted this here in case it helps anyone work out what is going on with this ongoing issue...
Oct 8 10:10:05 pbx01b asterisk: gethostby*.getanswer: asked for "talk.orbtalk.co.uk", got "homeportal.gateway.2wire.net"
Oct 8 10:10:05 pbx01b asterisk: gethostby*.getanswer: asked for "205-nnnnnnnn.local", got "homeportal.gateway.2wire.net"
Oct 8 10:10:05 pbx01b asterisk: gethostby*.getanswer: asked for "202-nnnnnnnn.local", got "homeportal.gateway.2wire.net"
Oct 8 10:10:05 pbx01b asterisk: gethostby*.getanswer: asked for "200-nnnnnnnn.local", got "homeportal.gateway.2wire.net"
I've certainly tried implementing BIND but it didn't seem to do much and the Linksys ATA's/IP phones also tend to go a bit pear shaped (dropping audio after exactly 20 seconds) if there is no external net connection, although this now only seems to happen after a few minutes (so if the net is lost for <5 minutes things seem to stay working)
whilst looking for something else in /var/log/messages I found this from the last time our office net connection went a bit flakey.
The in built DNS server in the office router (a BT Business Hub returns the domain homeportal.gateway.2wire.net if it cannot get an external connection - on a browser this shows a BT logo and a message about the lack of connection)
but what this appears to show is that despite all the ATA's and IP phones in my office being set up with dotted IP addresses, Asterisk has invented a "hostname" which is the extension, then "-" then a 8 digit hex number (I replaced by nnnnnnnn in case this was a security risk to post it here) and then .local - and for some inexplicable reason trys to get DNS to resolve it

what seems more confusing is the hex number after the extension changes with each different attempt to resolve the "domain"
I've no idea what happens during "normal" operation but I've posted this here in case it helps anyone work out what is going on with this ongoing issue...
Oct 8 10:10:05 pbx01b asterisk: gethostby*.getanswer: asked for "talk.orbtalk.co.uk", got "homeportal.gateway.2wire.net"
Oct 8 10:10:05 pbx01b asterisk: gethostby*.getanswer: asked for "205-nnnnnnnn.local", got "homeportal.gateway.2wire.net"
Oct 8 10:10:05 pbx01b asterisk: gethostby*.getanswer: asked for "202-nnnnnnnn.local", got "homeportal.gateway.2wire.net"
Oct 8 10:10:05 pbx01b asterisk: gethostby*.getanswer: asked for "200-nnnnnnnn.local", got "homeportal.gateway.2wire.net"