This module adds support for XEP-0215: External Service Discovery, which lets Prosody advertise non-XMPP services.
Example services from the XEP:
= {
modules_enabled -- other modules ...
"extdisco";
}
= {
external_services ["stun.shakespeare.lit"] = {
="9998";
port="udp";
transporttype="stun";
};
["relay.shakespeare.lit"] = {
="jj929jkj5sadjfj93v3n";
password="9999";
port="udp";
transporttype="turn";
="nb78932lkjlskjfdb7g8";
username};
["192.0.2.1"] = {
="8888";
port="udp";
transporttype="stun";
};
["192.0.2.1"] = {
="8889";
port="93jn3bakj9s832lrjbbz";
password="udp";
transporttype="turn";
="auu98sjl2wk3e9fjdsl7";
username};
["ftp.shakespeare.lit"] = {
="Shakespearean File Server";
name="guest";
password="20";
port="tcp";
transporttype="ftp";
="guest";
username};
}
Incompatible with mod_turncredentials.
With the plugin installer in Prosody 0.12 you can use:
sudo prosodyctl install --server=https://modules.prosody.im/rocks/ mod_extdisco
For earlier versions see the documentation for installing 3rd party modules