forked from sdelements/lets-chat
-
Notifications
You must be signed in to change notification settings - Fork 2
XMPP
Houssam Haidar edited this page Jul 3, 2015
·
15 revisions
Enable XMPP-Multi User Chat (MUC) with the following settings:
xmpp:
enable: true
roomCreation: false
debug:
handled: false
unhandled: false
port: 5222
domain: mycompany.com
tls:
enable: true
key: ./server.key
cert: ./server.crt
-
Users connect to
xmpp.port
and authenticate with username@xmpp.domain
-
Users retrieve the room list from conference host:
- conference.
xmpp.domain
- conference.
Protect your XMPP communication by providing the following values for tls
:
-
tls.key
path to the private key of the server in PEM format. -
tls.cert
path to the server certificate in PEM format.
To help you debug XMPP set xmpp.debug
settings:
-
xmpp.debug.handled
outputs to the console the XMPP traffic that is currently supported -
xmpp.debug.unhandled
outputs to the console the XMPP traffic which is not yet supported
Enable the xmpp.roomCreation
setting to allow users to create rooms via XMPP.