From 51048819ee4a10ad533679020768510d7aaa63b7 Mon Sep 17 00:00:00 2001 From: Andy Binder Date: Sun, 14 Nov 2021 23:23:44 +0100 Subject: [PATCH] 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. --- ubuntu/resources/switch/source-release.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ubuntu/resources/switch/source-release.sh b/ubuntu/resources/switch/source-release.sh index ffa7d02..fb979b9 100755 --- a/ubuntu/resources/switch/source-release.sh +++ b/ubuntu/resources/switch/source-release.sh @@ -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