Re: [asterisk-users] Why asterisk down when inet server down?
Steve Edwards wrote: On Fri, 18 Jun 2010, sean darcy wrote: (Sean has a problem and several posters suspect it is DNS related.) On Fri, 18 Jun 2010, Zeeshan Zakaria wrote: Did you check /etc/resolv? Does it point to any DNS by domain name? If you mean /etc/resolv.conf and the nameserver option, an IP address is required -- otherwise all attempts to use the resolver library fail. And what if you have two servers in /etc/resolv.conf? I have two but if the first fails Asterisk does not resolve on the second one. Open calls continue but registrations start to fail. I probably gonna try the caching name server, but it feels like a bug in Asterisk. Theo -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why asterisk down when inet server down?
On Fri, 2010-06-18 at 17:19 -0500, Cary Fitch wrote: If domain name, what are they using for DNS? Indeed, interesting question. On a quiet moment i would suggest you do: tcpdump -vvX -i eth0 port 53 on the machine that is your gateway to internet, and make an internal call (or use wireshark) Then you can detect WHO i doing an external name resolving. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why asterisk down when inet server down?
On Sat, 2010-06-19 at 01:39 +0200, Philipp von Klitzing wrote: Hi! But why can't my phones call. The outgoing lines are PRI/DAHDI T1. No sip. No iax. Why does the asterisk machine have to resolve any address? Probably because you have one or more register = statements in your sip.conf and Asterisk is trying badly - but without success - to register itself to one or more of your providers. This then happens to block all incoming LAN SIP traffic. Philipp No, it can not be this. I just adapted my fireawall-ruleset, my asterisk can not reach internet anymore (all registers fails), But i still can phone internally, or use the isdn-line. So with the o.P. it must be something else. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why asterisk down when inet server down?
On Fri, 2010-06-18 at 21:04 -0400, Andres wrote: Our company has set up hundreds of asterisk boxes over the years. One thing we learned early on was to avoid any type of DNS resolution by asterisk. Asterisk gets hung when it can't access your DNS server and all things grind to a halt (ie, phones can't register). The two things we make sure to do on any new installation is to: 1) use only IP addresses in all the config files. 2) set srvlookup = no in sip.conf. Try those 2 things out and then remove the internet connection from your server. Check and see if call processing works normally. If it doesn't, do a tcpdump or ngrep capture to see what DNS queries are being done and figure out why. I disagree. If you want to change an address, you have to change it on lots of places, and you allways forget one ir two. For maintenace purposes it a real PITA if people keep using addresses everywhere. There should only be _one_ place where addresses are used and that is in your _local_ name server. DHCP will ditribute realm and the address of you nameserver to any clients. If your bind is working properly (and that is something to take seriously) it just should works. Not only for asterisk, but for dhcp, mail, vpn, nfs, smb, apache, ldapm, iptables, kerberos and god knows what else. DNS is always the first thing that should work without a hitch, If possible with failover. Any minute you invest in bind will pay back in avoiding hours or days troubleshooting elsewhere -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Why asterisk down when inet server down?
We have a 10.10.0.0 internal network. The asterisk server - 10.10.10.180 - has a PRI connection to a T-1. Another server is the router to the internet. All phones in the office and the workstations are on the network. Most of the internal phones are aastra 9133i's. Here the network config from a phone: Network Settings Basic Network Settings DHCP [ ] Enabled IP Address 10.10.10.44_ Subnet Mask 255.255.255.0___ Gateway 10.10.10.180 Primary DNS 10.10.10.180 Secondary DNS0.0.0.0_ If the network server is down, the phones go out of service. From a workstation I can still ssh into the asterisk server. But for some reason the phones don't work. I can console dial out from the server. The asterisk server doesn't need the internet for connectivity. Why do the internal phones go down? sean -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why asterisk down when inet server down?
Just a guess - the phones are down because they can't get to the DCHP server. If you can't ping 10.10.10.44 you'll never reach 10.10.10.180. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of sean darcy Sent: Friday, June 18, 2010 11:40 AM To: asterisk-users@lists.digium.com Subject: [asterisk-users] Why asterisk down when inet server down? We have a 10.10.0.0 internal network. The asterisk server - 10.10.10.180 - has a PRI connection to a T-1. Another server is the router to the internet. All phones in the office and the workstations are on the network. Most of the internal phones are aastra 9133i's. Here the network config from a phone: Network Settings Basic Network Settings DHCP [ ] Enabled IP Address 10.10.10.44_ Subnet Mask 255.255.255.0___ Gateway 10.10.10.180 Primary DNS 10.10.10.180 Secondary DNS0.0.0.0_ If the network server is down, the phones go out of service. From a workstation I can still ssh into the asterisk server. But for some reason the phones don't work. I can console dial out from the server. The asterisk server doesn't need the internet for connectivity. Why do the internal phones go down? sean -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why asterisk down when inet server down?
- sean darcy seandar...@gmail.com wrote: We have a 10.10.0.0 internal network. The asterisk server - 10.10.10.180 - has a PRI connection to a T-1. Another server is the router to the internet. All phones in the office and the workstations are on the network. Most of the internal phones are aastra 9133i's. Here the network config from a phone: Network Settings Basic Network Settings DHCP [ ] Enabled IP Address 10.10.10.44_ Subnet Mask 255.255.255.0___ Gateway 10.10.10.180 Primary DNS 10.10.10.180 Secondary DNS0.0.0.0_ If the network server is down, the phones go out of service. From a workstation I can still ssh into the asterisk server. But for some reason the phones don't work. I can console dial out from the server. The asterisk server doesn't need the internet for connectivity. Why do the internal phones go down? Are your network settings correct or is that a typo? We have a 10.10.0.0 internal network. The asterisk server - 10.10.10.180 ...which tells me your mask should probably be 255.255.0.0. BUT, in the phone config, you have the mask as 255.255.255.0. This might not tbe cause and 'be-all end-all' of your issues, but it's worth some attention. --Tim -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why asterisk down when inet server down?
On Fri, 18 Jun 2010, sean darcy wrote: We have a 10.10.0.0 internal network. The asterisk server - 10.10.10.180 - has a PRI connection to a T-1. Another server is the router to the internet. All phones in the office and the workstations are on the network. Most of the internal phones are aastra 9133i's. Here the network config from a phone: Network Settings Basic Network Settings DHCP [ ] Enabled IP Address 10.10.10.44_ Subnet Mask 255.255.255.0___ Gateway 10.10.10.180 Primary DNS 10.10.10.180 Secondary DNS0.0.0.0_ If the network server is down, the phones go out of service. From a workstation I can still ssh into the asterisk server. But for some reason the phones don't work. I can console dial out from the server. The asterisk server doesn't need the internet for connectivity. Why do the internal phones go down? If you mean that the phones simply can't dial and don't actually un-register themselves, it probably because asterisk needs a working DNS server somewhere, and with no Internet, then your DNS server - which looks like your gateway - which I'm guessing is just a dumb forwarder - is failling. I've never undersood quite why asterisk wants to do a DNS lookup for every call, but not been bothered enough to do something about it other than to run a cacheing DNS server on the asterisk box itself just for it's own use. Gordon -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why asterisk down when inet server down?
On 06/18/2010 12:53 PM, Danny Nicholas wrote: Just a guess - the phones are down because they can't get to the DCHP server. If you can't ping 10.10.10.44 you'll never reach 10.10.10.180. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of sean darcy Sent: Friday, June 18, 2010 11:40 AM To: asterisk-users@lists.digium.com Subject: [asterisk-users] Why asterisk down when inet server down? We have a 10.10.0.0 internal network. The asterisk server - 10.10.10.180 - has a PRI connection to a T-1. Another server is the router to the internet. All phones in the office and the workstations are on the network. Most of the internal phones are aastra 9133i's. Here the network config from a phone: Network Settings Basic Network Settings DHCP [ ] Enabled IP Address 10.10.10.44_ Subnet Mask 255.255.255.0___ Gateway 10.10.10.180 Primary DNS 10.10.10.180 Secondary DNS0.0.0.0_ If the network server is down, the phones go out of service. From a workstation I can still ssh into the asterisk server. But for some reason the phones don't work. I can console dial out from the server. The asterisk server doesn't need the internet for connectivity. Why do the internal phones go down? sean I can ping 10.10.10.44, and 10.10.10.180. In fact I can log into the web server on 10.10.10.44 when the internet server is down. The 10.10.10.0 network works fine. sean -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why asterisk down when inet server down?
On 06/18/2010 12:57 PM, Tim Nelson wrote: - sean darcyseandar...@gmail.com wrote: We have a 10.10.0.0 internal network. The asterisk server - 10.10.10.180 - has a PRI connection to a T-1. Another server is the router to the internet. All phones in the office and the workstations are on the network. Most of the internal phones are aastra 9133i's. Here the network config from a phone: Network Settings Basic Network Settings DHCP [ ] Enabled IP Address 10.10.10.44_ Subnet Mask 255.255.255.0___ Gateway 10.10.10.180 Primary DNS 10.10.10.180 Secondary DNS0.0.0.0_ If the network server is down, the phones go out of service. From a workstation I can still ssh into the asterisk server. But for some reason the phones don't work. I can console dial out from the server. The asterisk server doesn't need the internet for connectivity. Why do the internal phones go down? Are your network settings correct or is that a typo? We have a 10.10.0.0 internal network. The asterisk server - 10.10.10.180 ...which tells me your mask should probably be 255.255.0.0. BUT, in the phone config, you have the mask as 255.255.255.0. This might not tbe cause and 'be-all end-all' of your issues, but it's worth some attention. --Tim Yes, it is a typo. The network is 10.10.10.0/255.255.255.0. sean -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why asterisk down when inet server down?
On 06/18/2010 01:19 PM, Gordon Henderson wrote: On Fri, 18 Jun 2010, sean darcy wrote: We have a 10.10.0.0 internal network. The asterisk server - 10.10.10.180 - has a PRI connection to a T-1. Another server is the router to the internet. All phones in the office and the workstations are on the network. Most of the internal phones are aastra 9133i's. Here the network config from a phone: Network Settings Basic Network Settings DHCP [ ] Enabled IP Address 10.10.10.44_ Subnet Mask 255.255.255.0___ Gateway 10.10.10.180 Primary DNS 10.10.10.180 Secondary DNS0.0.0.0_ If the network server is down, the phones go out of service. From a workstation I can still ssh into the asterisk server. But for some reason the phones don't work. I can console dial out from the server. The asterisk server doesn't need the internet for connectivity. Why do the internal phones go down? If you mean that the phones simply can't dial and don't actually un-register themselves, it probably because asterisk needs a working DNS server somewhere, and with no Internet, then your DNS server - which looks like your gateway - which I'm guessing is just a dumb forwarder - is failling. I've never undersood quite why asterisk wants to do a DNS lookup for every call, but not been bothered enough to do something about it other than to run a cacheing DNS server on the asterisk box itself just for it's own use. Gordon I don't know if the phones unregister themselves. They simply show No service and sip show peers: 44/44(Unspecified)D N A 5060 UNKNOWN I do run a caching/nameserver on the asterisk box. I didn't realize asterisk did a DNS lookup for every call, even one going out over PRI/DAHDI. That makes no sense, IMHO. It means that you couldn't use asterisk as a straight PBX for a T1 (or POTS). Is there any way of turning off the DNS lookup? Or at least not having it become a major failure event? sean -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why asterisk down when inet server down?
Based on my somewhat similar experience a few times, when this happens, try to resolve an IP, to make sure there is a valid DNS server accessible to Asterisk. If not, either make asterisk a DNS as well, or remove any domain name entries from /etc/resolv file and replace them with the IP addresses of your DNS. Zeeshan A Zakaria -- www.ilovetovoip.com On 2010-06-18 1:29 PM, sean darcy seandar...@gmail.com wrote: On 06/18/2010 12:57 PM, Tim Nelson wrote: - sean darcyseandar...@gmail.com wrote: We h... Yes, it is a typo. The network is 10.10.10.0/255.255.255.0. sean -- _ -- Bandwidth and Colocat... -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why asterisk down when inet server down?
On 06/18/2010 01:42 PM, Zeeshan Zakaria wrote: Based on my somewhat similar experience a few times, when this happens, try to resolve an IP, to make sure there is a valid DNS server accessible to Asterisk. If not, either make asterisk a DNS as well, or remove any domain name entries from /etc/resolv file and replace them with the IP addresses of your DNS. Zeeshan A Zakaria -- www.ilovetovoip.com http://www.ilovetovoip.com On 2010-06-18 1:29 PM, sean darcy seandar...@gmail.com mailto:seandar...@gmail.com wrote: On 06/18/2010 12:57 PM, Tim Nelson wrote: - sean darcyseandar...@gmail.com mailto:seandar...@gmail.com wrote: We h... Yes, it is a typo. The network is 10.10.10.0/255.255.255.0 http://10.10.10.0/255.255.255.0. sean If the internet server is down, there can't be a valid DNS server accessible to Asterisk. The asterisk server is a caching name server, but obviously won't be able to resolve addresses not in its cache. Asterisk clearly doesn't need to resolve addresses to connect calls internally or over the T1. Is there any way to turn off its requirement for a DNS server? Or at least not fail catastrophically? sean -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why asterisk down when inet server down?
Did you check /etc/resolv? Does it point to any DNS by domain name? Zeeshan A Zakaria -- www.ilovetovoip.com On 2010-06-18 2:04 PM, sean darcy seandar...@gmail.com wrote: On 06/18/2010 01:42 PM, Zeeshan Zakaria wrote: Based on my somewhat similar experience a few times... www.ilovetovoip.com http://www.ilovetovoip.com On 2010-06-18 1:29 PM, sean darcy seandar...@gmail.com mailto:seandar...@gmail.com wrote: On 06/18/2010 12:57 PM, Tim Nelson wrote: - ... mailto:seandar...@gmail.com wrote: We h... Yes, it is a typo. The network is 10.10... http://10.10.10.0/255.255.255.0. sean If the internet server is down, there can't be a valid DNS server accessible to Asterisk. The asterisk server is a caching name server, but obviously won't be able to resolve addresses not in its cache. Asterisk clearly doesn't need to resolve addresses to connect calls internally or over the T1. Is there any way to turn off its requirement for a DNS server? Or at least not fail catastrophically? sean -- _ -- Bandwidth and C... -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why asterisk down when inet server down?
Abandoning all hope of un-top-posting... On Fri, 18 Jun 2010, sean darcy wrote: (Sean has a problem and several posters suspect it is DNS related.) On Fri, 18 Jun 2010, Zeeshan Zakaria wrote: Did you check /etc/resolv? Does it point to any DNS by domain name? If you mean /etc/resolv.conf and the nameserver option, an IP address is required -- otherwise all attempts to use the resolver library fail. Have you tried running tcpdump -i [eth0|eth1|lo] port domain to see if it is a DNS query (and what the query is for) that is the issue? Have you tried entering the host names and IP addresses in /etc/hosts? -- Thanks in advance, - Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why asterisk down when inet server down?
On 06/18/2010 03:09 PM, Steve Edwards wrote: Abandoning all hope of un-top-posting... On Fri, 18 Jun 2010, sean darcy wrote: (Sean has a problem and several posters suspect it is DNS related.) On Fri, 18 Jun 2010, Zeeshan Zakaria wrote: Did you check /etc/resolv? Does it point to any DNS by domain name? If you mean /etc/resolv.conf and the nameserver option, an IP address is required -- otherwise all attempts to use the resolver library fail. I'm running named as a caching nameserver. /etc/resolv.conf point to localhost. But, obviously, it only responds from the cache, since the root servers are unavailable. Have you tried running tcpdump -i [eth0|eth1|lo] port domain to see if it is a DNS query (and what the query is for) that is the issue? Have you tried entering the host names and IP addresses in /etc/hosts? tcpdump is an interesting idea. The only trouble is that I'm not sure when to run it. The phones don't go dead immediately. And not sure what to sort on if I do run it. Still puzzled about why asterisk does an address lookup, and why it unregisters sip phones with a hard ip address if it fails. sean A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why asterisk down when inet server down?
On Fri, 2010-06-18 at 13:59 -0400, sean darcy wrote: If the internet server is down, there can't be a valid DNS server accessible to Asterisk. The asterisk server is a caching name server, but obviously won't be able to resolve addresses not in its cache. Asterisk clearly doesn't need to resolve addresses to connect calls internally or over the T1. Is there any way to turn off its requirement for a DNS server? Or at least not fail catastrophically? Even when your connection to Internet is lost, doesn't mean there can not be a valid dns server. I would recommend to run bind on your asterisk machine to resolve all addresses that your asterisk server and/or phones need. If that machine goes down, your phones can not call anyway ;-) Same for doing DHCP for handing out addresses to your phones... -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why asterisk down when inet server down?
On 06/18/2010 05:08 PM, Hans Witvliet wrote: On Fri, 2010-06-18 at 13:59 -0400, sean darcy wrote: If the internet server is down, there can't be a valid DNS server accessible to Asterisk. The asterisk server is a caching name server, but obviously won't be able to resolve addresses not in its cache. Asterisk clearly doesn't need to resolve addresses to connect calls internally or over the T1. Is there any way to turn off its requirement for a DNS server? Or at least not fail catastrophically? Even when your connection to Internet is lost, doesn't mean there can not be a valid dns server. I would recommend to run bind on your asterisk machine to resolve all addresses that your asterisk server and/or phones need. I do run bind on the asterisk machine. If that machine goes down, your phones can not call anyway ;-) But why can't my phones call. The outgoing lines are PRI/DAHDI T1. No sip. No iax. Why does the asterisk machine have to resolve any address? The internal phones can't even call each other, even though they have hard ip addresses. Same for doing DHCP for handing out addresses to your phones... All the phones have manual ip addresses. No DHCP. sean -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why asterisk down when inet server down?
On Fri, 18 Jun 2010, sean darcy wrote: I'm running named as a caching nameserver. /etc/resolv.conf point to localhost. But, obviously, it only responds from the cache, since the root servers are unavailable. If the root servers are not available, what is available to cache? tcpdump is an interesting idea. The only trouble is that I'm not sure when to run it. The phones don't go dead immediately. And not sure what to sort on if I do run it. How about this: sudo -b tcpdump -i eth0 port domain eth0-domain sudo -b tcpdump -i lo port domain lo-domain and then look at *-domain when you have an issue. -- Thanks in advance, - Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why asterisk down when inet server down?
But why can't my phones call. The outgoing lines are PRI/DAHDI T1. No sip. No iax. Why does the asterisk machine have to resolve any address? The internal phones can't even call each other, even though they have hard ip addresses. Same for doing DHCP for handing out addresses to your phones... All the phones have manual ip addresses. No DHCP. sean Do the phones find the sip server by IP or by domain name. I.e. 1.1.1.1 Or sip.yourdomain.com If domain name, what are they using for DNS? Cary Fitch -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why asterisk down when inet server down?
On 06/18/2010 06:19 PM, Cary Fitch wrote: But why can't my phones call. The outgoing lines are PRI/DAHDI T1. No sip. No iax. Why does the asterisk machine have to resolve any address? The internal phones can't even call each other, even though they have hard ip addresses. Same for doing DHCP for handing out addresses to your phones... All the phones have manual ip addresses. No DHCP. sean Do the phones find the sip server by IP or by domain name. I.e. 1.1.1.1 Or sip.yourdomain.com If domain name, what are they using for DNS? Cary Fitch The sip proxy server and the sip registrar server are both set to 10.10.10.180. sean -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why asterisk down when inet server down?
Hi! But why can't my phones call. The outgoing lines are PRI/DAHDI T1. No sip. No iax. Why does the asterisk machine have to resolve any address? Probably because you have one or more register = statements in your sip.conf and Asterisk is trying badly - but without success - to register itself to one or more of your providers. This then happens to block all incoming LAN SIP traffic. Philipp -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why asterisk down when inet server down?
On 6/18/2010 7:26 PM, sean darcy wrote: On 06/18/2010 06:19 PM, Cary Fitch wrote: But why can't my phones call. The outgoing lines are PRI/DAHDI T1. No sip. No iax. Why does the asterisk machine have to resolve any address? The internal phones can't even call each other, even though they have hard ip addresses. Same for doing DHCP for handing out addresses to your phones... All the phones have manual ip addresses. No DHCP. sean Do the phones find the sip server by IP or by domain name. I.e. 1.1.1.1 Or sip.yourdomain.com If domain name, what are they using for DNS? Cary Fitch The sip proxy server and the sip registrar server are both set to 10.10.10.180. sean Our company has set up hundreds of asterisk boxes over the years. One thing we learned early on was to avoid any type of DNS resolution by asterisk. Asterisk gets hung when it can't access your DNS server and all things grind to a halt (ie, phones can't register). The two things we make sure to do on any new installation is to: 1) use only IP addresses in all the config files. 2) set srvlookup = no in sip.conf. Try those 2 things out and then remove the internet connection from your server. Check and see if call processing works normally. If it doesn't, do a tcpdump or ngrep capture to see what DNS queries are being done and figure out why. Andres http://www.neuroredes.com -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users