From a2f6755ddd5a61fa6775ffea460d7246ef76c029 Mon Sep 17 00:00:00 2001 From: mancy Date: Tue, 21 Jun 2022 22:45:38 +0300 Subject: [PATCH] get cid form channel info #1 --- inc/defines.php | 1 + inc/functions.php | 15 ++++++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/inc/defines.php b/inc/defines.php index cb46949..b1edd3a 100644 --- a/inc/defines.php +++ b/inc/defines.php @@ -27,6 +27,7 @@ /* Asterisk CLI command specifics */ define("ASCLI","asterisk -rx 'queue show ?' | sed 1d"); +define("ASCID","asterisk -rx 'core show channel ?'"); //define("ASCLI","asterisk -rx 'queue show ?'"); define("ASCLINOMEM","No Members"); define("ASCLINOCAL","No Callers"); diff --git a/inc/functions.php b/inc/functions.php index c61dfb9..97b05a6 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1,4 +1,17 @@