mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Add. Handle b legs in CDR. (#2626)
* Add. Handle `b` legs in CDR. CDR list/statistic by default handle only `a` legs. So it prevent display wrong result when b-leg turn on. Add ability to write to db `b` legs only for specific call directions. To be able see b-legs in CDR need set xml_cdr_b_leg permission. To add specific call direction to filter need add element to `cdr/b_leg/array` in default/domain settings. * Add. `b_leg` to defalut settings.
This commit is contained in:
committed by
FusionPBX
parent
8709d01fb0
commit
9050da03cc
@@ -50,7 +50,11 @@ else {
|
||||
echo " <td width='70%' align='right' valign='top'>\n";
|
||||
echo " <input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.location='xml_cdr.php'\" value='".$text['button-back']."'>\n";
|
||||
if (permission_exists('xml_cdr_search_advanced')) {
|
||||
echo " <input type='button' class='btn' value='".$text['button-advanced_search']."' onclick=\"window.location='xml_cdr_search.php?redirect=xml_cdr_statistics';\">\n";
|
||||
$advenced_search_url = 'xml_cdr_search.php?redirect=xml_cdr_statistics';
|
||||
if(permission_exists('xml_cdr_all') && (@$_GET['showall'] === 'true')){
|
||||
$advenced_search_url .= '&showall=true';
|
||||
}
|
||||
echo " <input type='button' class='btn' value='".$text['button-advanced_search']."' onclick=\"window.location='$advenced_search_url';\">\n";
|
||||
}
|
||||
if (permission_exists('xml_cdr_all')) {
|
||||
if ($_GET['showall'] != 'true') {
|
||||
|
||||
Reference in New Issue
Block a user