From b5f431b81406e1206488f53db3ef1abe6a41337d Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Thu, 1 Dec 2005 13:53:08 +0000 Subject: [PATCH] Ajout info sur collecte/presel --- htdocs/telephonie/script/commande_presel_statut_view.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/htdocs/telephonie/script/commande_presel_statut_view.php b/htdocs/telephonie/script/commande_presel_statut_view.php index 1c6622d7712..a7a8dd9d5bc 100644 --- a/htdocs/telephonie/script/commande_presel_statut_view.php +++ b/htdocs/telephonie/script/commande_presel_statut_view.php @@ -102,6 +102,14 @@ function GetPreselection_byRef($db, $host, $user_login, $user_passwd, $ids) $array = array(); preg_match('/telnum="([0123456789]*)"/', $line, $array); $ligne_numero = $array[1]; + + $array = array(); + preg_match('/ServiceActive="([\S]*)"/i', $line, $array); + $service_active = $array[1]; + + $array = array(); + preg_match('/PreSelectionActive="([\S]*)"/i', $line, $array); + $presel_active = $array[1]; $array = array(); preg_match('/Service_Statut="([\S]*)"/i', $line, $array); @@ -113,6 +121,7 @@ function GetPreselection_byRef($db, $host, $user_login, $user_passwd, $ids) print "$i/$numcli "; print $ligne_numero." "; + print "$service_active/$presel_active "; print substr($ligne_service.str_repeat(" ",20),0,20); print substr($ligne_presel.str_repeat(" ",20),0,20); print "\n";