mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 09:03:49 +00:00
On Debian or Ubuntu the /etc/init.d seems to require /etc/freeswitch this causes a problem source compiled systems changing the directory to detect if its a package install to /etc/freeswitch/dialplan.
This commit is contained in:
@@ -148,7 +148,7 @@ require_once "resources/functions.php";
|
||||
if (file_exists('/usr/bin')) {
|
||||
$switch_bin_dir = '/usr/bin'; //freeswitch bin directory
|
||||
}
|
||||
if (file_exists('/etc/freeswitch')) {
|
||||
if (file_exists('/etc/freeswitch/dialplan')) {
|
||||
$switch_conf_dir = '/etc/freeswitch';
|
||||
$switch_extensions_dir = $switch_conf_dir.'/directory';
|
||||
$switch_gateways_dir = $switch_conf_dir.'/sip_profiles';
|
||||
|
||||
Reference in New Issue
Block a user