Change directory detection /etc/freeswitch/dialplan to /etc/fusionpbx/conf.
This commit is contained in:
parent
ec16d3e4fb
commit
34bbfa6031
|
|
@ -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/freeswitch/dialplan')) {
|
||||
$switch_conf_dir = '/etc/freeswitch';
|
||||
if (file_exists('/etc/fusionpbx/conf')) {
|
||||
$switch_conf_dir = '/etc/fusionpbx/conf';
|
||||
$switch_extensions_dir = $switch_conf_dir.'/directory';
|
||||
$switch_sip_profiles_dir = $switch_conf_dir.'/sip_profiles';
|
||||
$switch_dialplan_dir = $switch_conf_dir.'/dialplan';
|
||||
|
|
|
|||
Loading…
Reference in New Issue