I have recently posted a message regarding hung SIP channels when using the Monitor() command. Well, I was wrong. The channel hanging wasn't caused by the Monitor command. They also hang when they aren't monitored. The cause seems to be our PSTN gateway provider. When for some reason their PSTN gateway crashes or reboots (OK, this should happen, but anyway...) and RTP/SIP data stops flowing, the SIP channel just sits there on the Asterisk server, and will never hang up, until you "soft hangup" it. When issuing "show channel SIP/xxx" on a hung channel, you see the "elapsed seconds" counter incrementing, but the "frames in" and "frames out" counters don't increment anymore. When you "soft hangup" the channel, the macro it was running in succesfully continues to the hangup extension and everything is cleaned up properly. Is there a way to tell Asterisk to hang up stuck channels automatically, ie. when no frames are received for more than, say, 30 seconds? We're using CVS-HEAD-08/24/04 Thanks -Manuel ___________________________________________________ Ticinocom SA - Via Stazione 5 - 6600 Muralto Tel 0844 007070 - Fax 0844 007071 http://www.ticinocom.com
Does anyone know how to get rid of these hung channels? I am getting this when I do a: show sip channels 209.82.xxx.xxx 0071495217 2591218534@ 00103/00001 unknow(d) 209.82.xxx.xxx 0041590104 0690231739@ 00103/00001 unknow(d) 209.82.xxx.xxx 0070259259 3265102826@ 00103/00001 unknow(d) 209.82.xxx.xxx 0071948143 1927207026@ 00103/00001 unknow(d) 209.82.xxx.xxx 0022576786 1752809624@ 00103/00001 unknow(d) 209.82.xxx.xxx 0070153955 0085223171@ 00103/00001 unknow(d) I have about 60 of them and growing. I have submitted a ticket with my provider to let them know of this problem but I would like to clear them out w/o restarting the asterisk binary. ? ? .o-------------------------------------------------------o. Brian Fertig NOC/Network Engineer Planet Telecom, Inc. Tampa, FL Office
>> Does anyone know how to get rid of these hung channels?> >> I am getting this when I do a: >> show sip channels >> 209.82.xxx.xxx 0071495217 2591218534@ 00103/00001 unknow(d) >> 209.82.xxx.xxx 0041590104 0690231739@ 00103/00001 unknow(d) >> 209.82.xxx.xxx 0070259259 3265102826@ 00103/00001 unknow(d) >> 209.82.xxx.xxx 0071948143 1927207026@ 00103/00001 unknow(d) >> 209.82.xxx.xxx 0022576786 1752809624@ 00103/00001 unknow(d) >> 209.82.xxx.xxx 0070153955 0085223171@ 00103/00001 unknow(d) >> I have about 60 of them and >> growing. I have submitted a ticket with my provider to let >> them know of this problem but I would like to clear them >> out w/o restarting the asterisk binary. > >I have the same problem. For me it looks like this some not completedtransactions. This hanged >transcations don't affect anything, but I worry, how much their number will increase, when I>will have bigger load on asterisk box (Currently near 20 concurent calls.)I think dumping of>all signalling and analyzing it can help.I have the same problem too. The number of this hanged transactions increase quickly. It didn't cleat with a asterisk reload (but a linux reboot works). Anyone have some news about this? JS.