Fix the recordings directory.

This commit is contained in:
Mark Crane 2013-03-20 17:38:19 +00:00
parent 648ef006cc
commit e12cc0f05e
1 changed files with 3 additions and 1 deletions

View File

@ -179,7 +179,9 @@ require_once "includes/lib_functions.php";
if (file_exists('/var/lib/freeswitch/storage')) {
$switch_storage_dir = '/var/lib/freeswitch/storage';
$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')) {
$switch_sounds_dir = '/usr/share/freeswitch/sounds';