mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 09:03:49 +00:00
Update fax_to_email.php
update old variable $t38 to $fax_variables
This commit is contained in:
@@ -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 . ",";
|
||||
|
||||
Reference in New Issue
Block a user