You can try
asterisk -rx core show channels and parse to output
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gustavo A
Gonzalez
Sent: Friday, June 06, 2008 12:23 PM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] Zap channels state
Hello people! I want to know if is there a shell, php script that show me
which channels on a PRI line are onhook/offhook? Thanks for any help.
Gustavo A. González
Dto. de Infraestructura
Despegar.com, Inc.
[EMAIL PROTECTED]
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users