I normally use 'core show channels' and check for 'Zap/' in the channel string.
Are you trying to do it in an automated way, like from AGI? Singer Wang wrote: > Hello, > > I have a question. We have a 8 port FXO card in our asterisk server > plugged into 8 analog lines. Is there a way to tell at how many of those > ports are in use (AKA, actually on a call)? I tried zap show status and > zap show channel [num] but I don't see anything that might be helpful. > > Singer > > -- > *Singer X.J. Wang* > /Systems Engineer/ > The Pythian Group > ------------------------------------------------------------------------ > Office: (613) 565-8696 x298 > Toll Free: (877) 798-4426 x298 > Cell: (613) 218-9184 > Fax: (613) 565-8710 > Email: [EMAIL PROTECTED] > MSN: [EMAIL PROTECTED] > Yahoo: pythianwang > AIM: pythianwang > ICQ: 201253 > Gadu-Gadu: 6817795 > Tencent QQ: 858310404 > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > AstriCon 2008 - September 22 - 25 Phoenix, Arizona > Register Now: http://www.astricon.net > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users -- Josiah Bryan IT Manager Productive Concepts, Inc. [EMAIL PROTECTED] (765) 964-6009, ext. 224 _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users