jigasi: update jigasi configuration.

This commit is contained in:
Luis Guzmán 2024-08-28 23:19:15 -06:00
parent b9b5d2e326
commit 059213caa4
1 changed files with 6 additions and 8 deletions

View File

@ -27,17 +27,15 @@ echo ''
exit_if_not_installed jitsi-meet
export 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)"
JIGASI_CONFIG="/etc/jitsi/jigasi/config"
MEET_CONF="/etc/jitsi/meet/${DOMAIN}-config.js"
JIG_SIP_CONF="/etc/jitsi/jigasi/config"
DOMAIN="$(find /etc/prosody/conf.d/ -name \*.lua|awk -F'.cfg' '!/localhost/{print $1}'|xargs basename)"
JIG_TRANSC_PASWD="$(tr -dc "a-zA-Z0-9#*=" < /dev/urandom | fold -w 16 | head -n1)"
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
# Disbale
# Disable SIP account prompt by default
echo "jigasi jigasi/sip-account string ''" | debconf-set-selections
echo "jigasi jigasi/sip-password password ''" | debconf-set-selections
@ -54,7 +52,7 @@ echo "6) Japanese"
echo "7) Russian"
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
1)