I have setup a reverse dns for my local subnet and it seems to have resolved the issue, i was able to make calls even when my asterisk box is not connected to the net. thanks for all your help!<br><br><div class="gmail_quote">
On Wed, Jun 1, 2011 at 5:57 AM, Hans Witvliet <span dir="ltr"><<a href="mailto:hwit@a-domani.nl">hwit@a-domani.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Tue, 2011-05-31 at 10:29 -0400, Eric Wieling wrote:<br>
> As far as I can tell it is trying to do a reverse lookup on the IPs configured on the system. With the internet down, does the command "host 10.10.10.1" (or whatever IPs you have on the system) take a while to come back? Unless you can do a reverse lookup of all the IPs on the system don't expect Asterisk to be able to. If your /etc/hosts is set up correct, you should be able to look up any IP configured on any interface on the system without delay.<br>
><br>
> I'm sure there are other places Asterisk tries to do DNS lookups, but the above info has solved this issue for me in the past.<br>
><br>
<br>
</div>I'm not sure if that's all is true.<br>
Sure, if you add a line in /etc/hosts, that works for most applications,<br>
as not all commands follow /etc/resolv.conf....<br>
<br>
i just tried, adding a line to /etc/hosts.<br>
ping hostname works, but host hostname fails, just as host ip-address.<br>
So even when you only put ip-addresses (brrr) into your config files,<br>
the reversed-lookup will still spoil the party.<br>
<div><div></div><div class="h5"><br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br>