diff --git a/secure/fax_to_email.php b/secure/fax_to_email.php index 3ab010cf15..3a28476882 100644 --- a/secure/fax_to_email.php +++ b/secure/fax_to_email.php @@ -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 . ",";