Re: [asterisk-users] asterisk fails when DNS or internet fails

2011-06-01 Thread nhadie ramos
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! On Wed, Jun 1, 2011 at 5:57 AM, Hans Witvliet h...@a-domani.nl wrote: On Tue, 2011-05-31 at 10:29

Re: [asterisk-users] asterisk fails when DNS or internet fails

2011-05-31 Thread Hans Witvliet
On Mon, 2011-05-30 at 23:15 -0400, Jeff LaCoursiere wrote: On Mon, 30 May 2011, Sherwood McGowan wrote: True, but with all due respect, if the cache's TTL expires and the OP's PBX cannot reach an external DNS server, they have bigger problems ;-) Slainte all! The Mick I

Re: [asterisk-users] asterisk fails when DNS or internet fails

2011-05-31 Thread Satish Patel
I our setup we don't have DNS or Internet connectivity but we are good no issue so far. -- Sent from my iPhone On May 31, 2011, at 7:24 AM, Hans Witvliet h...@a-domani.nl wrote: On Mon, 2011-05-30 at 23:15 -0400, Jeff LaCoursiere wrote: On Mon, 30 May 2011, Sherwood McGowan wrote: True,

Re: [asterisk-users] asterisk fails when DNS or internet fails

2011-05-31 Thread Benny Amorsen
Jeff LaCoursiere j...@sunfone.com writes: Hasn't anyone managed to solve this with something better than a caching DNS server, which seems to only last a short while? What exactly is going on that is failing? If your recursive DNS server returns errors quickly rather than actually trying to

Re: [asterisk-users] asterisk fails when DNS or internet fails

2011-05-31 Thread Cary Fitch
It seems to me: That every Asterisk system that is being used for PBX or other internal as well as external use should have a local DNS, run either on the same box or on an adjacent box. A simple BIND installation is low overhead. If remote phones use it for DNS then if they are on the net,

Re: [asterisk-users] asterisk fails when DNS or internet fails

2011-05-31 Thread Olle E Johansson
31 maj 2011 kl. 14.49 skrev Benny Amorsen: Jeff LaCoursiere j...@sunfone.com writes: Hasn't anyone managed to solve this with something better than a caching DNS server, which seems to only last a short while? What exactly is going on that is failing? If your recursive DNS server

Re: [asterisk-users] asterisk fails when DNS or internet fails

2011-05-31 Thread nhadie ramos
may i know what domain is asterisk specifically looking for? coz i don't use domains on the ip phones, i configure them to register to the IP e.g. 10.10.10.1. forgot to mention i am using freepbx as a GUI, does freepbx tells asterisk to look for a specific domain? TIA. Regards, Ron On Tue,

Re: [asterisk-users] asterisk fails when DNS or internet fails

2011-05-31 Thread Eric Wieling
. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of nhadie ramos Sent: Tuesday, May 31, 2011 10:07 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] asterisk fails when DNS

Re: [asterisk-users] asterisk fails when DNS or internet fails

2011-05-31 Thread nhadie ramos
...@lists.digium.com] On Behalf Of nhadie ramos Sent: Tuesday, May 31, 2011 10:07 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] asterisk fails when DNS or internet fails may i know what domain is asterisk specifically looking for? coz i don't use

Re: [asterisk-users] asterisk fails when DNS or internet fails

2011-05-31 Thread Hans Witvliet
On Tue, 2011-05-31 at 10:29 -0400, Eric Wieling wrote: 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

Re: [asterisk-users] asterisk fails when DNS or internet fails

2011-05-31 Thread Steve Edwards
On Tue, 31 May 2011, Hans Witvliet wrote: Sure, if you add a line in /etc/hosts, that works for most applications, as not all commands follow /etc/resolv.conf i just tried, adding a line to /etc/hosts. ping hostname works, but host hostname fails, just as host ip-address. So even when you

Re: [asterisk-users] asterisk fails when DNS or internet fails

2011-05-31 Thread Eric Wieling
-Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Hans Witvliet Sent: Tuesday, May 31, 2011 5:57 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] asterisk fails

Re: [asterisk-users] asterisk fails when DNS or internet fails

2011-05-31 Thread Dovid Bender
- Original Message - From: Olle E Johansson o...@edvina.net To: Benny Amorsen benny+use...@amorsen.dk Cc: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Tuesday, May 31, 2011 16:17 Subject: Re: [asterisk-users] asterisk fails when DNS

Re: [asterisk-users] asterisk fails when DNS or internet fails

2011-05-30 Thread gincantalupo
Hi, it is a known problem, one of the worst. To avoid it: - do not use urls, only ip addresses in sip.conf or put your urls inside /etc/hosts (is what I do especially sip providers urls) or install a dns-cache on your pbx (maybe the best solution) Giorgio On 05/30/2011 03:10 AM, nhadie

Re: [asterisk-users] asterisk fails when DNS or internet fails

2011-05-30 Thread Alex Balashov
On 05/30/2011 02:44 AM, gincantalupo wrote: - do not use urls, only ip addresses in sip.conf or put your urls inside /etc/hosts (is what I do especially sip providers urls) Definitely don't put URLs in /etc/hosts. I assume you meant URIs, but either way, neither one belongs there. That

Re: [asterisk-users] asterisk fails when DNS or internet fails

2011-05-30 Thread nhadie ramos
Thank you for the information. I will try to install a dns-cache. Regards, Ron On 5/30/11, Alex Balashov abalas...@evaristesys.com wrote: On 05/30/2011 02:44 AM, gincantalupo wrote: - do not use urls, only ip addresses in sip.conf or put your urls inside /etc/hosts (is what I do especially

Re: [asterisk-users] asterisk fails when DNS or internet fails

2011-05-30 Thread nhadie ramos
By the way, is this only an issue for asterisk 1.4? or is it the same with 1.6 and/or 1.8? TIA. Regards, Ron On Mon, May 30, 2011 at 2:50 PM, Alex Balashov abalas...@evaristesys.comwrote: On 05/30/2011 02:44 AM, gincantalupo wrote: - do not use urls, only ip addresses in sip.conf or put

Re: [asterisk-users] asterisk fails when DNS or internet fails

2011-05-30 Thread Mark Deneen
On Mon, May 30, 2011 at 2:44 AM, gincantalupo gincantal...@fgasoftware.comwrote: Hi, it is a known problem, one of the worst. To avoid it: - do not use urls, only ip addresses in sip.conf or put your urls inside /etc/hosts (is what I do especially sip providers urls) or install a

Re: [asterisk-users] asterisk fails when DNS or internet fails

2011-05-30 Thread Sherwood McGowan
True, but with all due respect, if the cache's TTL expires and the OP's PBX cannot reach an external DNS server, they have bigger problems ;-) Slainte all! The Mick Sent from my iPhone On May 30, 2011, at 9:41 PM, Mark Deneen mden...@gmail.com wrote: On Mon, May 30, 2011 at 2:44 AM,

Re: [asterisk-users] asterisk fails when DNS or internet fails

2011-05-30 Thread Jeff LaCoursiere
On Mon, 30 May 2011, Sherwood McGowan wrote: True, but with all due respect, if the cache's TTL expires and the OP's PBX cannot reach an external DNS server, they have bigger problems ;-) Slainte all! The Mick I couldn't disagree more. In fact I think this problem is more serious than

[asterisk-users] asterisk fails when DNS or internet fails

2011-05-29 Thread nhadie ramos
Hi, Would just like to inquire why asterisk fails to send calls in / out when the DNS is failing or when the server with asterisk has no internet. Ip phones are connected via IP address and i am using an FXO card, so even if internet fails i should still be able to make calls thru the fxo. but