2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Fixed typo in getChannel

This commit is contained in:
azammitdcarf
2011-08-22 00:24:48 +00:00
parent 2f51b37aeb
commit 02961a4277

View File

@@ -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]);