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: wang at pythian.com MSN: pythianwang at hotmail.com Yahoo: pythianwang AIM: pythianwang ICQ: 201253 Gadu-Gadu: 6817795 Tencent QQ: 858310404 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080929/cce15fa4/attachment.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: wang.vcf Type: text/x-vcard Size: 145 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20080929/cce15fa4/attachment.vcf
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: wang at pythian.com > MSN: pythianwang at hotmail.com > 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. jbryan at productiveconcepts.com (765) 964-6009, ext. 224
Try with: core show channels verbose or core show channels concise Regards, Luis Morales On Tue, Sep 30, 2008 at 10:38 AM, Singer Wang <wang at pythian.com> 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: wang at pythian.com > MSN: pythianwang at hotmail.com > 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 >-- --------------------------------------------------------------------------------- Luis Morales Consultor de Tecnologia Cel: +(58)416-4242091 --------------------------------------------------------------------------------- "Empieza por hacer lo necesario, luego lo que es posible... y de pronto estar?s haciendo lo imposible" Leonardo Da'Vinci ---------------------------------------------------------------------------------