Giorgio Incantalupo
2006-Dec-06 02:43 UTC
[asterisk-users] Asterisk freezes when DNS not working: a BUG??
Hi, I'm using Asterisk 1.2.9.1. I have big problem with SIP VoIP providers registrations: Asterisk freezes when it cannot (re-)register with VoIP provider (registration timeout). The problem is related to DNS names resolution: if DNS server is very slow to respond Asterisk stops every activity (no zap or restart commands on CLI). The bad news is VoIP providers usually do not give their IP so I cannot use it. Is there anybody who had a problem like this? TIA Giorgio Incantalupo
Anselm Martin Hoffmeister
2006-Dec-06 02:56 UTC
[asterisk-users] Asterisk freezes when DNS not working: a BUG??
Am Mittwoch, den 06.12.2006, 10:43 +0100 schrieb Giorgio Incantalupo:> Hi, > I'm using Asterisk 1.2.9.1. I have big problem with SIP VoIP providers > registrations: Asterisk freezes when it cannot (re-)register with VoIP > provider (registration timeout). The problem is related to DNS names > resolution: if DNS server is very slow to respond Asterisk stops every > activity (no zap or restart commands on CLI). The bad news is VoIP > providers usually do not give their IP so I cannot use it.They usually do not give their IP adresses with reason. You could of course look those IPs up and enter the address instead of the name, but the nice thing about DNS is that the provider can hook a second machine, with another address, and change the DNS to move the SIP target for all their users. They could also use round-robbing for multiple machines or whatever - features you will not get if you set an ip in your configuration. If you do not see a way to get around it, try setting the IP in the /etc/hosts file. That is ugly, for the reasons mentioned, but it would keep DNS from timing out. BR Anselm
Al Bochter
2006-Dec-06 03:34 UTC
[asterisk-users] Asterisk freezes when DNS not working: a BUG??
Just do a lookup for the domain name and resolve it to the IP address Best regards, Al Bochter Bochter Services http://www.BochterServices.com/?t=Email (VOIP PBX) 1-866-638-1254 (Voip PBX) Free World DialUp: 780-217 WebSite: http://www.freeworlddialup.com/ We have Toll Free DID's instock * * * NO MONTHLY FEE - LIMITED TIME ONLY * * * http://www.bochterservices.com/?t=TF(NM)did BUY Coins, Silver and Gold http://www.bochterservices.com/?j=gold&t=email For new and used security items http://www.bochterservices.com/?j=store&t=email_security Giorgio Incantalupo wrote:> Hi, > I'm using Asterisk 1.2.9.1. I have big problem with SIP VoIP providers > registrations: Asterisk freezes when it cannot (re-)register with VoIP > provider (registration timeout). The problem is related to DNS names > resolution: if DNS server is very slow to respond Asterisk stops every > activity (no zap or restart commands on CLI). The bad news is VoIP > providers usually do not give their IP so I cannot use it. > > Is there anybody who had a problem like this? > > TIA > > Giorgio Incantalupo > > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > ---------------------------------------------------- > Inbound (clean). Database: 0654-0, 12/06/2006 - 12/6/2006 4:49:00 AM > > > >
Bob Chiodini
2006-Dec-06 04:43 UTC
[asterisk-users] Asterisk freezes when DNS not working: a BUG??
Giorgio, You could set up a caching name server in your local network, use it as your primary DNS server and your ISP's as a secondary. This would cache your ITSP's address(es) locally limiting your reliance on your ISP. Bob... On Wed, 2006-12-06 at 10:43 +0100, Giorgio Incantalupo wrote:> Hi, > I'm using Asterisk 1.2.9.1. I have big problem with SIP VoIP providers > registrations: Asterisk freezes when it cannot (re-)register with VoIP > provider (registration timeout). The problem is related to DNS names > resolution: if DNS server is very slow to respond Asterisk stops every > activity (no zap or restart commands on CLI). The bad news is VoIP > providers usually do not give their IP so I cannot use it. > > Is there anybody who had a problem like this? > > TIA > > Giorgio Incantalupo > > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users