Fix the recordings directory.
This commit is contained in:
parent
648ef006cc
commit
e12cc0f05e
|
|
@ -179,7 +179,9 @@ require_once "includes/lib_functions.php";
|
||||||
if (file_exists('/var/lib/freeswitch/storage')) {
|
if (file_exists('/var/lib/freeswitch/storage')) {
|
||||||
$switch_storage_dir = '/var/lib/freeswitch/storage';
|
$switch_storage_dir = '/var/lib/freeswitch/storage';
|
||||||
$switch_voicemail_dir = $switch_storage_dir.'/voicemail';
|
$switch_voicemail_dir = $switch_storage_dir.'/voicemail';
|
||||||
$switch_recordings_dir = $switch_storage_dir.'/recordings';
|
}
|
||||||
|
if (file_exists('/var/lib/freeswitch/recordings')) {
|
||||||
|
$switch_recordings_dir = '/var/lib/freeswitch/recordings';
|
||||||
}
|
}
|
||||||
if (file_exists('/usr/share/freeswitch/sounds')) {
|
if (file_exists('/usr/share/freeswitch/sounds')) {
|
||||||
$switch_sounds_dir = '/usr/share/freeswitch/sounds';
|
$switch_sounds_dir = '/usr/share/freeswitch/sounds';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue