Add default-recordings directory

It was missing on default-install Ubuntu 20.04.3 LTS via ubuntu-install-script, which prevents uploading recordings from the gui.
This commit is contained in:
Andy Binder 2021-11-14 23:23:44 +01:00
parent 1e3c3e914a
commit 51048819ee
1 changed files with 4 additions and 0 deletions

View File

@ -73,5 +73,9 @@ make cd-sounds-install cd-moh-install
mkdir -p /usr/share/freeswitch/sounds/music/default
mv /usr/share/freeswitch/sounds/music/*000 /usr/share/freeswitch/sounds/music/default
#add the default-recordings directory
mkdir -p /var/lib/freeswitch/recordings/$domain_name
chown -R www-data:www-data /var/lib/freeswitch/recordings/$domain_name
#return to the executing directory
cd $CWD