Update fax_to_email.php

update old variable $t38 to $fax_variables
This commit is contained in:
Len
2016-11-30 01:38:00 -05:00
committed by GitHub
parent c882b08abf
commit 01c1520f25

View File

@@ -473,12 +473,12 @@ if(!function_exists('fax_split_dtmf')) {
if (count($route_array) == 0) {
//send the internal call to the registered extension
$fax_uri = "user/".$fax_forward_number."@".$domain_name;
$t38 = "";
$fax_variables = "";
}
else {
//send the external call
$fax_uri = $route_array[0];
$t38 = "fax_enable_t38=true,fax_enable_t38_request=true";
$fax_variables = "fax_enable_t38=true,fax_enable_t38_request=true";
}
$common_dial_string = "absolute_codec_string='PCMU,PCMA',";
@@ -493,7 +493,7 @@ if(!function_exists('fax_split_dtmf')) {
$common_dial_string .= "fax_file='" . $fax_file . "',";
if ($fax_send_mode != 'queue') {
$dial_string .= $t38;
$dial_string .= $fax_variables;
$dial_string .= "mailto_address='" . $mailto_address . "',";
$dial_string .= "mailfrom_address='" . $mailfrom_address . "',";
$dial_string .= "fax_uri=" . $fax_uri . ",";