jigasi: update jigasi configuration. #115

Merged
Ark74 merged 5 commits from Ark74/quick-jibri-installer:upd_jigasi_config into master 2024-08-30 00:51:28 +00:00
1 changed files with 6 additions and 8 deletions
Showing only changes of commit 059213caa4 - Show all commits

View File

@ -27,17 +27,15 @@ echo ''
exit_if_not_installed jitsi-meet exit_if_not_installed jitsi-meet
export DOMAIN="$(find /etc/prosody/conf.d/ -name \*.lua|awk -F'.cfg' '!/localhost/{print $1}'|xargs basename)" DOMAIN="$(find /etc/prosody/conf.d/ -name \*.lua|awk -F'.cfg' '!/localhost/{print $1}'|xargs basename)"
export JIG_TRANSC_PASWD="$(tr -dc "a-zA-Z0-9#*=" < /dev/urandom | fold -w 16 | head -n1)" JIG_TRANSC_PASWD="$(tr -dc "a-zA-Z0-9#*=" < /dev/urandom | fold -w 16 | head -n1)"
JIGASI_CONFIG="/etc/jitsi/jigasi/config"
MEET_CONF="/etc/jitsi/meet/${DOMAIN}-config.js"
JIG_SIP_CONF="/etc/jitsi/jigasi/config"
JIG_SIP_PROP="/etc/jitsi/jigasi/sip-communicator.properties" JIG_SIP_PROP="/etc/jitsi/jigasi/sip-communicator.properties"
#JIG_TRANSC_PASWD_B64="$(echo -n "$JIG_TRANSC_PASWD" | base64)" export DOMAIN
export JIG_TRANSC_PASWD
apt-get -q2 update apt-get -q2 update
# Disbale # Disable SIP account prompt by default
echo "jigasi jigasi/sip-account string ''" | debconf-set-selections echo "jigasi jigasi/sip-account string ''" | debconf-set-selections
echo "jigasi jigasi/sip-password password ''" | debconf-set-selections echo "jigasi jigasi/sip-password password ''" | debconf-set-selections
@ -54,7 +52,7 @@ echo "6) Japanese"
echo "7) Russian" echo "7) Russian"
echo "8) Spanish" echo "8) Spanish"
read -p "Enter the number corresponding to your language choice: " lang_choice read -p "Enter the number corresponding to your language choice: " -r lang_choice
case $lang_choice in case $lang_choice in
1) 1)