mod_server_contact_info
This module lets you advertise various contact addresses for your XMPP service via XEP-0157.
Configuration
Various types of contact addresses can be set via the single table
option contact_info
. Each field is a list of strings. Each
string should be an URI.
The common address types can be formatted as follows:
- XMPP address:
xmpp:user@example.com
- Email address:
mailto:user@example.com
- XMPP channel:
xmpp:room@muc.example.com?join
An example showing all possible fields:
= {
modules_enabled -- Other modules here
"server_contact_info";
}
= {
contact_info = { "mailto:abuse@shakespeare.lit", "xmpp:abuse@shakespeare.lit" };
abuse = { "mailto:admin@shakespeare.lit", "xmpp:admin@shakespeare.lit" };
admin = { "http://shakespeare.lit/feedback.php", "mailto:feedback@shakespeare.lit", "xmpp:feedback@shakespeare.lit" };
feedback = { "xmpp:bard@shakespeare.lit" };
sales = { "xmpp:security@shakespeare.lit" };
security = { "http://shakespeare.lit/support.php", "xmpp:support@muc.shakespeare.lit?join" };
support }
Without configuration, the module will expose the admins
configured.