diff --git a/src/freedombone b/src/freedombone index ffe0108f..c1ee5349 100755 --- a/src/freedombone +++ b/src/freedombone @@ -8395,10 +8395,10 @@ function install_voip { get_voip_server_password if [ ! $VOIP_SERVER_PASSWORD ]; then - VOIP_SERVER_PASSWORD=$(openssl rand -base64 $MINIMUM_PASSWORD_LENGTH) + VOIP_SERVER_PASSWORD=$(openssl rand -base64 16) fi if [ ${#VOIP_SERVER_PASSWORD} -lt $MINIMUM_PASSWORD_LENGTH ]; then - VOIP_SERVER_PASSWORD=$(openssl rand -base64 $MINIMUM_PASSWORD_LENGTH) + VOIP_SERVER_PASSWORD=$(openssl rand -base64 16) fi # Make an ssl cert for the server @@ -8448,6 +8448,7 @@ function install_voip { echo '' >> /home/$MY_USERNAME/README echo 'VoIP Server' >> /home/$MY_USERNAME/README echo '===========' >> /home/$MY_USERNAME/README + echo 'VoIP server username: SuperUser' >> /home/$MY_USERNAME/README echo 'VoIP server password: $VOIP_SERVER_PASSWORD' >> /home/$MY_USERNAME/README chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/README fi