|
@@ -192,6 +192,7 @@ fs_storage_dir="/var/lib/freeswitch/storage"
|
|
|
#fs_run="/var/run/freeswitch"
|
|
|
#fs_scripts="/var/lib/fusionpbx/scripts"
|
|
|
#fs_storage="/var/lib/fusionpbx/storage"
|
|
|
+##
|
|
|
################################################################################
|
|
|
# Hard Set Varitables (Do Not EDIT)
|
|
|
#Nginx default www dir
|
|
@@ -689,8 +690,6 @@ apt-get -y --force-yes install fusionpbx-core fusionpbx-app-calls fusionpbx-app-
|
|
|
find "/var/lib/fusionpbx" -type d -exec chmod 775 {} +
|
|
|
find "/var/lib/fusionpbx" -type f -exec chmod 664 {} +
|
|
|
|
|
|
-find "/var/lib/fusionpbx/storage/voicemail" -type d -exec chown www-data:freeswitch {} +
|
|
|
-find "/var/lib/fusionpbx/recordings" -type d -exec chown www-data:freeswitch {} +
|
|
|
#Optional APP PKGS installs
|
|
|
if [[ $adminer == "y" ]]; then
|
|
|
apt-get -y --force-yes install fusionpbx-app-adminer
|
|
@@ -794,19 +793,18 @@ apt-get -y --force-yes install freeswitch-theme-minimized
|
|
|
fi
|
|
|
if [[ $all == "y" ]]; then
|
|
|
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter \
|
|
|
- fusionpbx-app-call-center fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference \
|
|
|
- fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings fusionpbx-app-conferences \
|
|
|
- fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list \
|
|
|
- ghostscript libreoffice-common fusionpbx-app-fax fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services \
|
|
|
- fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query fusionpbx-app-traffic-graph freeswitch-mod-dingaling \
|
|
|
- fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \
|
|
|
- fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream \
|
|
|
- fusionpbx-provisioning-template-linksys fusionpbx-provisioning-template-panasonic fusionpbx-app-provision \
|
|
|
- fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \
|
|
|
- fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default \
|
|
|
- fusionpbx-theme-minimized \
|
|
|
- && mkdir -p /etc/fusionpbx/resources/templates/provision && cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* \
|
|
|
- /etc/fusionpbx/resources/templates/provision/
|
|
|
+ fusionpbx-app-call-center fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference \
|
|
|
+ fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings fusionpbx-app-conferences \
|
|
|
+ fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list \
|
|
|
+ ghostscript libreoffice-common fusionpbx-app-fax fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services \
|
|
|
+ fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query fusionpbx-app-traffic-graph freeswitch-mod-dingaling \
|
|
|
+ fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \
|
|
|
+ fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream \
|
|
|
+ fusionpbx-provisioning-template-linksys fusionpbx-provisioning-template-panasonic fusionpbx-app-provision \
|
|
|
+ fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \
|
|
|
+ fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default \
|
|
|
+ fusionpbx-theme-minimized && mkdir -p /etc/fusionpbx/resources/templates/provision \
|
|
|
+ && cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/
|
|
|
fi
|
|
|
|
|
|
#----end of fusion pbx pkgs install----
|