From b6bc074dd0b534ee9cab1c2201e0adbe0fcd2acd Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Thu, 27 Mar 2014 20:07:45 +0000 Subject: [PATCH] Change the directory back to /etc/freeswitch until a bug is fixed in FreeSWITCH for the conf directory startup parameter. --- resources/install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/install.php b/resources/install.php index 0b66e6a0d5..1a3f275ea4 100644 --- a/resources/install.php +++ b/resources/install.php @@ -160,8 +160,8 @@ require_once "resources/functions.php"; if (file_exists('/usr/bin')) { $switch_bin_dir = '/usr/bin'; //freeswitch bin directory } - if (file_exists('/etc/fusionpbx/conf')) { - $switch_conf_dir = '/etc/fusionpbx/conf'; + if (file_exists('/etc/freeswitch/dialplan')) { + $switch_conf_dir = '/etc/freeswitch'; $switch_extensions_dir = $switch_conf_dir.'/directory'; $switch_sip_profiles_dir = $switch_conf_dir.'/sip_profiles'; $switch_dialplan_dir = $switch_conf_dir.'/dialplan';