From 02961a42770ad42feaa3a3b6c617ee7e7bb6f1f2 Mon Sep 17 00:00:00 2001 From: azammitdcarf Date: Mon, 22 Aug 2011 00:24:48 +0000 Subject: [PATCH] Fixed typo in getChannel --- functions/functions.voip.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/functions.voip.php b/functions/functions.voip.php index 9629f8a0..50f1df64 100644 --- a/functions/functions.voip.php +++ b/functions/functions.voip.php @@ -109,7 +109,7 @@ class voip { $chan = $ccs[0]; $chans[$chan] = array($regs[1],$regs[3]); } - else if(eregi("Event: Status.*Channel: ((SIP/|IAX2)/[0-9a-zA-Z-]+).*",$s,$regs)) + else if(eregi("Event: Status.*Channel: ((SIP/|IAX2/)[0-9a-zA-Z-]+)",$s,$regs)) { //print T_("Channel: ") . $regs[1] . "\n"; $ccs = explode('-', $regs[1]);