From 9fdb33e40c05e107588baebcbf406d515263945d Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Tue, 5 Nov 2013 21:57:14 +0000 Subject: [PATCH] Set the faxing dialplan back to single quotes. --- app/fax/fax_edit.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/fax/fax_edit.php b/app/fax/fax_edit.php index 435f0f45e6..11d3366297 100644 --- a/app/fax/fax_edit.php +++ b/app/fax/fax_edit.php @@ -326,13 +326,13 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { // $dialplan_detail_tag = 'action'; //condition, action, antiaction $dialplan_detail_type = 'set'; - $dialplan_detail_data = "api_hangup_hook=system \"".PHP_BINDIR."/".$php_bin."\" \"".$_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/secure/fax_to_email.php\" "; + $dialplan_detail_data = "api_hangup_hook=system '".PHP_BINDIR."/".$php_bin."' '".$_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/secure/fax_to_email.php' "; $dialplan_detail_data .= "email=".$fax_email." "; $dialplan_detail_data .= "extension=".$fax_extension." "; $dialplan_detail_data .= "name=".$fax_prefix."\\\\\\\${last_fax} "; - $dialplan_detail_data .= "messages=\"result: \\\\\\\${fax_result_text} sender:\\\\\\\${fax_remote_station_id} pages:\\\\\\\${fax_document_total_pages}\" "; + $dialplan_detail_data .= "messages='result: \\\\\\\${fax_result_text} sender:\\\\\\\${fax_remote_station_id} pages:\\\\\\\${fax_document_total_pages}' "; $dialplan_detail_data .= "domain=".$_SESSION['domain_name']." "; - $dialplan_detail_data .= "caller_id_name=\"\\\\\\\${caller_id_name}\" "; + $dialplan_detail_data .= "caller_id_name='\\\\\\\${caller_id_name}' "; $dialplan_detail_data .= "caller_id_number=\\\\\\\${caller_id_number} "; $dialplan_detail_data .= "fax_relay=true "; @@ -436,13 +436,13 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { //update dialplan detail action $dialplan_detail_tag = 'action'; //condition, action, antiaction $dialplan_detail_type = 'set'; - $dialplan_detail_data = "api_hangup_hook=system \"".PHP_BINDIR."/".$php_bin."\" \"".$_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/secure/fax_to_email.php\" "; + $dialplan_detail_data = "api_hangup_hook=system '".PHP_BINDIR."/".$php_bin."' '".$_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/secure/fax_to_email.php' "; $dialplan_detail_data .= "email=".$fax_email." "; $dialplan_detail_data .= "extension=".$fax_extension." "; $dialplan_detail_data .= "name=".$fax_prefix."\\\\\\\${last_fax} "; - $dialplan_detail_data .= "messages=\"result: \\\\\\\${fax_result_text} sender:\\\\\\\${fax_remote_station_id} pages:\\\\\\\${fax_document_total_pages}\" "; + $dialplan_detail_data .= "messages='result: \\\\\\\${fax_result_text} sender:\\\\\\\${fax_remote_station_id} pages:\\\\\\\${fax_document_total_pages}' "; $dialplan_detail_data .= "domain=".$_SESSION['domain_name']." "; - $dialplan_detail_data .= "caller_id_name=\"\\\\\\\${caller_id_name}\" "; + $dialplan_detail_data .= "caller_id_name='\\\\\\\${caller_id_name}' "; $dialplan_detail_data .= "caller_id_number=\\\\\\\${caller_id_number} "; $dialplan_detail_data .= "fax_relay=true "; $sql = "update v_dialplan_details set ";