From 02b5fb71d63039d26b8deeba38f0a9480646ee0a Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 2 Dec 2016 21:16:07 -0700 Subject: [PATCH] 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. --- secure/fax_to_email.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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',";