diff --git a/secure/fax_to_email.php b/secure/fax_to_email.php index f632258f65..362d5aea8c 100644 --- a/secure/fax_to_email.php +++ b/secure/fax_to_email.php @@ -478,7 +478,10 @@ if(!function_exists('fax_split_dtmf')) { else { //send the external call $fax_uri = $route_array[0]; - $fax_variables = "fax_enable_t38=true,fax_enable_t38_request=true"; + $fax_variables = ""; + foreach($_SESSION['fax']['variable'] as $variable) { + $fax_variables .= $variable.","; + } } $dial_string = "absolute_codec_string='PCMU,PCMA',";