xmpp: make the auth XMPP domain configurable

This commit is contained in:
Saúl Ibarra Corretgé
2018-03-28 08:42:09 +02:00
parent 916788fd1c
commit 80a2a13b5e
7 changed files with 12 additions and 7 deletions

View File

@@ -4,6 +4,7 @@ if [[ ! -f /config/sip-communicator.properties ]]; then
cp /defaults/sip-communicator.properties /config
sed -i \
-e "s,\${XMPP_DOMAIN},$XMPP_DOMAIN,g" \
-e "s,\${XMPP_AUTH_DOMAIN},$XMPP_AUTH_DOMAIN,g" \
-e "s,\${JICOFO_AUTH_USER},$JICOFO_AUTH_USER,g" \
-e "s#\${JVB_STUN_SERVERS}#$JVB_STUN_SERVERS#g" \
/config/sip-communicator.properties