On Tue, 22 Jun 2010, Danny Nicholas wrote:
> Since you are already grepping, just add a grep -e zombie (you should > probably go ahead and do "core show channels" instead of "show channels" > since this will bite you at some time in the future). True. Its an old script ;) But I used the "zombie" term adjectively - there is no "zombie" text in the output. I just know that a call is not still ringing hours after it was initially placed. Not sure how it is getting into that state... here is an example excerpt: Zap/5-1 18666902...@from-pst Ringing AppDial((Outgoing Line)) SIP/7157787-08331ec8 18666902...@resident Ring Dial(Zap/g0/18666902511) Zap/3-1 18666902...@from-pst Ringing AppDial((Outgoing Line)) SIP/7157787-08335df0 18666902...@resident Ring Dial(Zap/g0/18666902511) Zap/2-1 18666902...@from-pst Ringing AppDial((Outgoing Line)) SIP/7157787-b6d28360 18666902...@resident Ring Dial(Zap/g0/18666902511) It kind of looks like this one SIP endpoint tried to make the same call three times in a row without success, and all of the calls show as still active, though I know they are not (in fact they show as still ringing). So are channels 2, 3, and 5 actually still "busy" from the telco's perspective because asterisk is keeping them open? That would suck. A lot. I did get a reply from Sangoma, who basically said that their driver doesn't know about the individual channels - that is totally handled by asterisk. So it seems there is no way other than what I am already doing to judge the channels in use? Thanks, j > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Jeff > LaCoursiere > Sent: Tuesday, June 22, 2010 11:41 AM > To: [email protected] > Subject: [asterisk-users] Sangoma - how to show channels in use? > > > Hi, > > I have several 1.4.29 installations with Sangoma AFT101d cards. Normally > we have been collecting the raw data and then graphing channel use for > these customers with: > > asterisk -rx 'show channels' | cut -f1 -d' ' | grep Zap | sort -u | wc -l > > Then I recently noticed that there were some "zombie" calls in this list > that were not actually active anymore. They go away if I restart > asterisk, but in the meantime channel use appears artificially inflated. > > I am wondering if there is a better method, perhaps with Sangoma CLI > tools, to show which channels are ACTUALLY in use? I played around with > wanpipemon but that doesn't really give channel specific info. > > Any clues? I posted on the Sangoma forums also... > > Thanks! > > j > > > > -- > _____________________________________________________________________ > -- 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 > -- _____________________________________________________________________ -- 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
