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:
parent
b96f15fe4e
commit
d5c7f53be3
|
|
@ -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',";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue