Skip to content

Commit

Permalink
Merge pull request #43 from venturinog/master
Browse files Browse the repository at this point in the history
Detailed audit logs
  • Loading branch information
asternic authored Sep 19, 2023
2 parents 74ebcdb + b14f380 commit 1e1dffe
Showing 1 changed file with 40 additions and 1 deletion.
41 changes: 40 additions & 1 deletion setup/var/www/html/admin/issabel_issabelpbx_auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
'username' => '',
);

$logMSG="";
$logMSG="issabelPBX ".$_POST['display']." ".$_POST['action']." ";
if(isset($_POST['extension'])) {
$logMSG .= "extension=".$_POST['extension']." ";
}
Expand All @@ -163,6 +163,45 @@
if(isset($_POST['trunk_name'])) {
$logMSG .= "trunk=".$_POST['trunk_name']." ";
}
if(isset($_POST['account'])) {
$logMSG .= $_POST['account']." ";
}
if(isset($_POST['displayname'])) {
$logMSG .= "Display Name=".$_POST['displayname']." ";
}
if(isset($_POST['name'])) {
$logMSG .= "Name=".$_POST['name']." ";
}
if(isset($_POST['extdisplay']) && !isset($_POST['extension'])) {
$logMSG .= $_POST['extdisplay']." ";
}
if(isset($_POST['announcement_id'])) {
$logMSG .= "Announcement ID=".$_POST['announcement_id']." ";
}
if(isset($_POST['cid_id'])) {
$logMSG .= "Set CID ID=".$_POST['cid_id']." ";
}
if(isset($_POST['qlog_id'])) {
$logMSG .= "Queue Log ID=".$_POST['qlog_id']." ";
}
if(isset($_POST['description'])) {
$logMSG .= "Desc=".$_POST['description']." ";
}
if(isset($_POST['fc_description'])) {
$logMSG .= "Desc=".$_POST['fc_description']." ";
}
if(isset($_POST['destdial'])) {
$logMSG .= "Dial=".$_POST['destdial']." ";
}
if(isset($_POST['callbacknum'])) {
$logMSG .= "Dial=".$_POST['callbacknum']." ";
}
if(isset($_POST['tech'])) {
$logMSG .= "TECH=".$_POST['tech']." ";
}
if(isset($_POST['customcontext'])) {
$logMSG .= "COS=".$_POST['customcontext']." ";
}


foreach ($logvars as $k => $v) {
Expand Down

0 comments on commit 1e1dffe

Please sign in to comment.