Update fax_to_email.php

Remove the hard coded fax_enable_t38=true,fax_enable_t38_request=true in favor of default settings -> fax -> variables.
This commit is contained in:
FusionPBX 2016-12-02 21:18:35 -07:00 committed by GitHub
parent b96f15fe4e
commit d5c7f53be3
1 changed files with 4 additions and 1 deletions

View File

@ -478,7 +478,10 @@ if(!function_exists('fax_split_dtmf')) {
else { else {
//send the external call //send the external call
$fax_uri = $route_array[0]; $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',"; $dial_string = "absolute_codec_string='PCMU,PCMA',";