From 24652e393fdc6dfe5d5d04e7a3e8edd8a1dea216 Mon Sep 17 00:00:00 2001 From: markjcrane Date: Sat, 26 Sep 2015 08:59:36 -0600 Subject: [PATCH] After event socket class was added it created a bug in FAX email and forward. It was unable to find the new EventSocket class adding the include resolves the problem. --- .../install/scripts/app/fax/resources/scripts/hangup_rx.lua | 3 +++ secure/fax_to_email.php | 1 + 2 files changed, 4 insertions(+) diff --git a/resources/install/scripts/app/fax/resources/scripts/hangup_rx.lua b/resources/install/scripts/app/fax/resources/scripts/hangup_rx.lua index d70db541e9..81ac0ffd13 100644 --- a/resources/install/scripts/app/fax/resources/scripts/hangup_rx.lua +++ b/resources/install/scripts/app/fax/resources/scripts/hangup_rx.lua @@ -22,6 +22,9 @@ -- Contributor(s): -- Mark J. Crane +--set the debug options + debug["sql"] = false; + --create the api object api = freeswitch.API(); diff --git a/secure/fax_to_email.php b/secure/fax_to_email.php index a9d4269836..415428e10d 100644 --- a/secure/fax_to_email.php +++ b/secure/fax_to_email.php @@ -40,6 +40,7 @@ if (defined('STDIN')) { //includes if (!defined('STDIN')) { include "root.php"; } require_once "resources/require.php"; + include "resources/classes/EventSocket.php"; include "resources/phpmailer/class.phpmailer.php"; include "resources/phpmailer/class.smtp.php"; // optional, gets called from within class.phpmailer.php if not already loaded