Add the extension name to CDR
This commit is contained in:
parent
c5547092d3
commit
5672944a5d
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in New Issue