add a condition, not everybody may need the fix

This commit is contained in:
luis daniel lucio quiroz
2015-06-29 18:57:03 +00:00
parent 1851088b15
commit 95a7609242
2 changed files with 15 additions and 8 deletions
+6 -4
View File
@@ -96,10 +96,12 @@ include "root.php";
}
}
else{
$dial_string .= ",outbound_caller_id_name=".$this->outbound_caller_id_name;
$dial_string .= ",outbound_caller_id_number=".$this->outbound_caller_id_number;
$dial_string .= ",origination_caller_id_name=".$this->outbound_caller_id_name;
$dial_string .= ",origination_caller_id_number=".$this->outbound_caller_id_number;
if ($_SESSION['cdr']['follow_me_fix']['boolean'] == "true"){
$dial_string .= ",outbound_caller_id_name=".$this->outbound_caller_id_name;
$dial_string .= ",outbound_caller_id_number=".$this->outbound_caller_id_number;
$dial_string .= ",origination_caller_id_name=".$this->outbound_caller_id_name;
$dial_string .= ",origination_caller_id_number=".$this->outbound_caller_id_number;
}
}
$dial_string .= "}";