Re: [Asterisk-Users] SNOM 200 and Asterisk Woes
On Wed, 11 Aug 2004, Olle E. Johansson wrote: Dan Mahoney, System Admin wrote: You start up the phones, they register, all is good. They show up in sip show peers like thus: danm/danm65.125.237.91D N 255.255.255.255 5060 OK (29 ms) We pass a few calls in and out, and asterisk "deadlocks" (not a true deadlock, see below). The sip show peers list becomes frozen. One of two things will happen: Please explain what you mean with "becomes frozen". Inbound SIP calls don't connect. Asterisk's console responds, but hangs up on a "stop now" and never exits cleanly except with -9. Peers are held in a constant state of whatever-state-they-were-in (ip addresses, etc). Outbound calling has a 50/50 shot of working. If the phones were registered when this happens, they continue to be able to make outbound calls. If registration has failed as a result of this happening, they are unable to re-register. 1) I can power down the phone and it will still show status OKAY. The OK in sip show peers is the result of the qualify= tests. We're sending a SIP packet to the phone and gets a response. It happens with some frequency, so Asterisk will not immediately see that the phone is off line. Turn on SIP debug and wait for the next OPTIONS sent to the phone, you will propably see a couple of retransmits before it becomes not OK. I've waited an hour with the snom phone unplugged. This isn't "normal" behavior. 2) Or, the other thing I'm seeing is that the phones will forget to re-register. As in, they show up in sip show peers as status UNKNOWN, but under this non-deadlock'ed deadlock, they can still make outbound calls fine. Status UNKNOWN has nothing to do with registration. If the phone hasn't registred, you will not see an IP address to the phone in 'sip show peers'. Status UNKNOWN indicates that our SIP "pings" is not answered. Do you have NAT between your phone and Asterisk? Seems so since you turn on qualify. I turn on qualify even for phones on the local subnet, for exactly this reason. However, yes, some of these phones were behind nat. But not all of them. In fact the one I pasting above was on the same local subnet. No firewalls. (as stated previously). -Dan Mahoney -- "The first annual 5th of July party...have you been invited?" "It's a Jack Party." "Okay, so Long Island's been invited." --Cali and Gushi, 6/23/02 Dan Mahoney Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --- ___ 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] SNOM 200 and Asterisk Woes
Dan Mahoney, System Admin wrote: You start up the phones, they register, all is good. They show up in sip show peers like thus: danm/danm65.125.237.91D N 255.255.255.255 5060 OK (29 ms) We pass a few calls in and out, and asterisk "deadlocks" (not a true deadlock, see below). The sip show peers list becomes frozen. One of two things will happen: Please explain what you mean with "becomes frozen". 1) I can power down the phone and it will still show status OKAY. The OK in sip show peers is the result of the qualify= tests. We're sending a SIP packet to the phone and gets a response. It happens with some frequency, so Asterisk will not immediately see that the phone is off line. Turn on SIP debug and wait for the next OPTIONS sent to the phone, you will propably see a couple of retransmits before it becomes not OK. 2) Or, the other thing I'm seeing is that the phones will forget to re-register. As in, they show up in sip show peers as status UNKNOWN, but under this non-deadlock'ed deadlock, they can still make outbound calls fine. Status UNKNOWN has nothing to do with registration. If the phone hasn't registred, you will not see an IP address to the phone in 'sip show peers'. Status UNKNOWN indicates that our SIP "pings" is not answered. Do you have NAT between your phone and Asterisk? Seems so since you turn on qualify. Somehow it seems that after a while, the SIP "pings" (OPTION packets) are not getting through to the phone. On a SNOM you can go to the web interface and look in the packet trace. Also, turn on SIP debug and try to catch when this happens. Seems like the NAT isn't letting the packets through. /O ___ 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] SNOM 200 and Asterisk Woes
On Tue, 10 Aug 2004, Todd Lieberman wrote: Looks like a firewall issue too me. Some of the snoms are behind NAT. However, my test one was on the same subnet, and exhibited the same problems. The asterisk box has firewalling disabled. A firewall issue, I would think, would not cause a registration to get STUCK even when I've unplugged the snom. Also, I should point out that the classic deadlock symptom still holds: Asterisk doesn't want to exit when this happens. Any ideas? -Dan Mahoney ___ 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] SNOM 200 and Asterisk Woes
Dan Mahoney, System Admin wrote: Okay, this one is driving me nuts. I have a fedora core 1 machine running asterisk from CVS. Built last week. I have a couple of snom phones with the latest firmware. Here's the issue, it's a wierd one. You start up the phones, they register, all is good. They show up in sip show peers like thus: danm/danm65.125.237.91D N 255.255.255.255 5060 OK (29 ms) We pass a few calls in and out, and asterisk "deadlocks" (not a true deadlock, see below). The sip show peers list becomes frozen. One of two things will happen: 1) I can power down the phone and it will still show status OKAY. 2) Or, the other thing I'm seeing is that the phones will forget to re-register. As in, they show up in sip show peers as status UNKNOWN, but under this non-deadlock'ed deadlock, they can still make outbound calls fine. Does anyone have any idea what can cause this? -Dan Mahoney Looks like a firewall issue too me. ___ 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] SNOM 200 and Asterisk Woes
Okay, this one is driving me nuts. I have a fedora core 1 machine running asterisk from CVS. Built last week. I have a couple of snom phones with the latest firmware. Here's the issue, it's a wierd one. You start up the phones, they register, all is good. They show up in sip show peers like thus: danm/danm65.125.237.91D N 255.255.255.255 5060 OK (29 ms) We pass a few calls in and out, and asterisk "deadlocks" (not a true deadlock, see below). The sip show peers list becomes frozen. One of two things will happen: 1) I can power down the phone and it will still show status OKAY. 2) Or, the other thing I'm seeing is that the phones will forget to re-register. As in, they show up in sip show peers as status UNKNOWN, but under this non-deadlock'ed deadlock, they can still make outbound calls fine. Does anyone have any idea what can cause this? -Dan Mahoney -- "Hey Guys, does anyone know what 'poon tang' is?" -C.S. Dave, July 8, 2K, about 12:30AM Dan Mahoney Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --- ___ 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