RE: [Asterisk-Users] Newbie Issues = SIP won't stay connected, and IAX Unable to Create Channel
We've all been there. I spent several hours on the phone with ATT last week to bring up a T-1 and finally discovered that I had a layer-three problem as well. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Jackson Sent: Saturday, April 10, 2004 11:36 PM To: [EMAIL PROTECTED] Subject: RE: [Asterisk-Users] Newbie Issues = SIP won't stay connected, and IAX Unable to Create Channel Well, the stupidity just keeps on coming. Thanks for all of your posts I followed all of your advice and was able to resolve the problem. As I wrote in the first post I have been banging my head against this problem for around 60 hours, until I finally gave up and decided to post. The answer is a bit embarrassing as I should have checked this issue within minutes if not hours of these problems cropping up. Here goes: The IP address that the Network Admin gave me was being used. DUH! I was able to determine this from the arp -a and the ethereal packet traces, and found that on a very irregular basis the packets would get sent to the wrong system. Obviously this explains all of the problems that I experienced. Again, I should have checked this as one of the very first things, but for what ever reason I assumed that those most basic of configurations was correct. Wrong! Sorry for the rabbit hole guys, but if I had not gotten these suggestions from ya'll I would have been stuck at this point until I just gave up. (Or decided to shoot the damned thing, whichever came first.) Thanks again, Robert Jackson ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.656 / Virus Database: 421 - Release Date: 4/9/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.656 / Virus Database: 421 - Release Date: 4/9/2004 ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Newbie Issues = SIP won't stay connected, and IAX Unable to Create Channel
I am terribly sorry to bother the list with such generic and bizarre problems, but I have been racking my brain with these for the last week working on it for at least 60 hours. If anyone can even point me in the right direction I would be eternally grateful. So without further adu here are my woes: I have * (2004-04-09 CVS) running on a P4 1.6Ghz CPU, 512MB RAM, Debian Sarge, and basically no other programs (Other than the required ones of course). My SIP clients are 2 Win2000 machines running X-Lite, and 2 grand stream budgettone 101's. All iptables default rules are set allow and no other rules are entered. The whole setup is a proof of concept so that we can migrate our 25 agent call center app to *. When I reboot the computer running * and run * via asterisk -gc everything starts without any warnings, notices, or errors. At that point none of my SIP clients login to *. If I do a sip debug it doesn't even show the clients trying to connect, however on the X-Lite logs it is sending the REGISTER message to the correct IP address. If I ping the client's IP address from the * server the client immediately registers and can make calls. If I stop pinging for at least 30 minutes the clients are again unable to connect. Upon discovering this I thought that I had a physical network problem. So I went out and got a brand new 10/100 switch, and new network cards for the server and the PC based clients. After installing and configuring all the new equipment I am in the same boat. I simply cannot understand what is going on. All of the machines are on a local address scheme without any NAT's or other firewalls in between. The next problem that I have has to do with IAX. I have accounts setup with both NuFone, and VoicePulse just to try out the various services. I have my iax.conf configure as instructed by both the wiki and from the providers. I also have a DID from VoicePulse so I have a register line for that as well. After I reboot the * server, run *, and ping the clients both provider's work properly. However after a certain period of time(variable length) the register times out and VoicePulse becomes UNREACHABLE. The same goes for the NuFone service. When this happens occasionally I get a message on the console that says Unable to create channel. I am completely at a loss. Again I apologize for wasting your valuable time, but I couldn't find anything that helped me either on the wiki or the list. Thanks in advance, Robert Jackson ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Newbie Issues = SIP won't stay connected, and IAX Unable to Create Channel
When I reboot the computer running * and run * via asterisk -gc everything starts without any warnings, notices, or errors. At that point none of my SIP clients login to *. If I do a sip debug it doesn't even show the clients trying to connect, however on the X-Lite logs it is sending the REGISTER message to the correct IP address. If I ping the client's IP address from the * server the client immediately registers and can make calls. If I stop pinging for at least 30 minutes the clients are again unable to connect. Upon discovering this I thought that I had a physical network problem. So I went out and got a brand new 10/100 switch, and new network cards for the server and the PC based clients. After installing and configuring all the new equipment I am in the same boat. I simply cannot understand what is going on. All of the machines are on a local address scheme without any NAT's or other firewalls in between. The next problem that I have has to do with IAX. I have accounts setup with both NuFone, and VoicePulse just to try out the various services. I have my iax.conf configure as instructed by both the wiki and from the providers. I also have a DID from VoicePulse so I have a register line for that as well. After I reboot the * server, run *, and ping the clients both provider's work properly. However after a certain period of time(variable length) the register times out and VoicePulse becomes UNREACHABLE. The same goes for the NuFone service. When this happens occasionally I get a message on the console that says Unable to create channel. All the words that you've used tend to suggest a firewall is getting in the way (eg, iptables). A few things you can do to help narrow down the problem. 1. on each system, do a arp -a before and after the connection fails to see what each system thinks is the current IP MAC address. If there are no entries, then that system has not even attempted communications at the layer-3 level. If the entries are present (on each system), then at least you know each has made some attempt. 2. download and implement ethereal, and run it until the failure occurs. Look at the packet displays and see if that helps point to an issue. If you can't read packet traces from ethereal, there are lots of others on this list that can. It at least helps point to the problem. 3. in the /etc/asterisk/logger.conf file, configure it for debug. Restart asterisk (not reload). Asterisk will then write lots of detailed messages in a file at /var/log/asterisk (if memory serves correctly). Rich ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Newbie Issues = SIP won't stay connected, and IAX Unable to Create Channel
It sounds like a layer three problem. Are all of the Subnet masks and gateways configured correctly? Obviously, you can ping, but you are unable to connect without the ping. It sounds like both the SIP phones and the IAX customers are unable to find a route back to your asterisk server, but when you ping the devices, they 'see' the route and take it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Jackson Sent: Saturday, April 10, 2004 9:25 AM To: [EMAIL PROTECTED] Subject: [Asterisk-Users] Newbie Issues = SIP won't stay connected, and IAX Unable to Create Channel I am terribly sorry to bother the list with such generic and bizarre problems, but I have been racking my brain with these for the last week working on it for at least 60 hours. If anyone can even point me in the right direction I would be eternally grateful. So without further adu here are my woes: I have * (2004-04-09 CVS) running on a P4 1.6Ghz CPU, 512MB RAM, Debian Sarge, and basically no other programs (Other than the required ones of course). My SIP clients are 2 Win2000 machines running X-Lite, and 2 grand stream budgettone 101's. All iptables default rules are set allow and no other rules are entered. The whole setup is a proof of concept so that we can migrate our 25 agent call center app to *. When I reboot the computer running * and run * via asterisk -gc everything starts without any warnings, notices, or errors. At that point none of my SIP clients login to *. If I do a sip debug it doesn't even show the clients trying to connect, however on the X-Lite logs it is sending the REGISTER message to the correct IP address. If I ping the client's IP address from the * server the client immediately registers and can make calls. If I stop pinging for at least 30 minutes the clients are again unable to connect. Upon discovering this I thought that I had a physical network problem. So I went out and got a brand new 10/100 switch, and new network cards for the server and the PC based clients. After installing and configuring all the new equipment I am in the same boat. I simply cannot understand what is going on. All of the machines are on a local address scheme without any NAT's or other firewalls in between. The next problem that I have has to do with IAX. I have accounts setup with both NuFone, and VoicePulse just to try out the various services. I have my iax.conf configure as instructed by both the wiki and from the providers. I also have a DID from VoicePulse so I have a register line for that as well. After I reboot the * server, run *, and ping the clients both provider's work properly. However after a certain period of time(variable length) the register times out and VoicePulse becomes UNREACHABLE. The same goes for the NuFone service. When this happens occasionally I get a message on the console that says Unable to create channel. I am completely at a loss. Again I apologize for wasting your valuable time, but I couldn't find anything that helped me either on the wiki or the list. Thanks in advance, Robert Jackson ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.645 / Virus Database: 413 - Release Date: 3/28/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.645 / Virus Database: 413 - Release Date: 3/28/2004 ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Newbie Issues = SIP won't stay connected, and IAX Unable to Create Channel
On Sat, 10 Apr 2004, Robert Jackson wrote: Thanks for the info. I am not sure how to disable iptables, but I will be scouring the net for the next couple of hours or so. I simply couldn't believe that * was as unstable as it has been seeming. At least now I know that I'm not crazy. Rich, a previous poster, suggested the following path: Hi Robert - iptables -F iptables -X will flush all the rules from your iptables and then delete all the extra chains. Don't worry, they'll be reloaded the next time you boot the system. Doing this will completely remove any firewalling that might be going on (you could use iptables -L to look at the currently set rules). I don't know whether the flush and delete commands will affect the NAT (network address translation) table or not. But if this machine isn't doing NAT for any other computers, then it won't matter. I tried emailing you directly, but my MTA (exim) complained that your domain name promedicalinc.com lists its mail exchange by IP. I'm no DNS guru, but according to the error exim gave me, an MX record should have a name (and then that name should be defined by an A or CNAME (?) record?). Might wanna check on that. Greg ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Newbie Issues = SIP won't stay connected, and IAX Unable to Create Channel
Well, the stupidity just keeps on coming. Thanks for all of your posts I followed all of your advice and was able to resolve the problem. As I wrote in the first post I have been banging my head against this problem for around 60 hours, until I finally gave up and decided to post. The answer is a bit embarrassing as I should have checked this issue within minutes if not hours of these problems cropping up. Here goes: The IP address that the Network Admin gave me was being used. DUH! I was able to determine this from the arp -a and the ethereal packet traces, and found that on a very irregular basis the packets would get sent to the wrong system. Obviously this explains all of the problems that I experienced. Again, I should have checked this as one of the very first things, but for what ever reason I assumed that those most basic of configurations was correct. Wrong! Sorry for the rabbit hole guys, but if I had not gotten these suggestions from ya'll I would have been stuck at this point until I just gave up. (Or decided to shoot the damned thing, whichever came first.) Thanks again, Robert Jackson ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Newbie Issues = SIP won't stay connected, and IAX Unable to Create Channel
A somewhat plussed asterisk admin wrote: The answer is a bit embarrassing as I should have checked this issue within minutes if not hours of these problems cropping up. Just for the record--I've been in this boat my fair share, too--this is why some of the old hands on the list are a little less than eager to drop everything they're doing and come 'round to help when a plea like this is heard. I'm writing on my forehead, Post as a last resort only, especially when you seem to be the only one in the world having the problem you're having. B. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users