Commit 8e6d7866 authored by Kulya's avatar Kulya 😊

Fix StafStatsApp errors-4

parent c1ae9536
...@@ -442,9 +442,12 @@ class AloVoiceActions ...@@ -442,9 +442,12 @@ class AloVoiceActions
$chanFrom = 'FWD_('.$cKeys["connectedlinenum"].")"; $chanFrom = 'FWD_('.$cKeys["connectedlinenum"].")";
$arChans["Fwd"][$cKeys["connectedlinenum"]] = $cKeys; $arChans["Fwd"][$cKeys["connectedlinenum"]] = $cKeys;
} else { } else {
$chanFrom = $arChanLine[0]; $chanFrom = preg_replace("/[^0-9]/", '', $arChanLine[0]);
if(empty($arChans["Out"][$chanFrom]) && empty($arChans["Incom"][$chanFrom])){
$arChans["Out"][$chanFrom] = $cKeys; $arChans["Out"][$chanFrom] = $cKeys;
} }
}
if(!empty($cKeys["outnum"])){ if(!empty($cKeys["outnum"])){
$arChans["OutTrunk"][$cKeys["calleridnum"]][$chanFrom] = $cKeys; $arChans["OutTrunk"][$cKeys["calleridnum"]][$chanFrom] = $cKeys;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment