mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-03 06:29:20 +00:00
Add the extension name to CDR
This commit is contained in:
@@ -594,7 +594,7 @@
|
||||
$col_count++;
|
||||
}
|
||||
if (permission_exists('xml_cdr_extension')) {
|
||||
echo "<th class='shrink'>".$text['label-ext']."</th>\n";
|
||||
echo "<th class='shrink'>".$text['label-extension']."</th>\n";
|
||||
$col_count++;
|
||||
}
|
||||
if (permission_exists('xml_cdr_all') && $_REQUEST['show'] == "all") {
|
||||
@@ -824,7 +824,7 @@
|
||||
}
|
||||
//extension
|
||||
if (permission_exists('xml_cdr_extension')) {
|
||||
$content .= " <td class='middle'>".$row['extension']."</td>\n";
|
||||
$content .= " <td class='middle'>".$row['extension']." ".escape($row['extension_name'])."</td>\n";
|
||||
}
|
||||
//domain name
|
||||
if (permission_exists('xml_cdr_all') && $_REQUEST['show'] == "all") {
|
||||
|
||||
@@ -256,6 +256,7 @@
|
||||
$sql .= "c.domain_uuid, \n";
|
||||
$sql .= "c.sip_call_id, \n";
|
||||
$sql .= "e.extension, \n";
|
||||
$sql .= "e.effective_caller_id_name as extension_name, \n";
|
||||
$sql .= "c.start_stamp, \n";
|
||||
$sql .= "c.end_stamp, \n";
|
||||
$sql .= "to_char(timezone(:time_zone, start_stamp), 'DD Mon YYYY') as start_date_formatted, \n";
|
||||
|
||||
Reference in New Issue
Block a user