Change the directory back to /etc/freeswitch until a bug is fixed in FreeSWITCH for the conf directory startup parameter.

This commit is contained in:
Mark Crane
2014-03-27 20:07:45 +00:00
parent c98c612166
commit b6bc074dd0

View File

@@ -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';