%%% The parameters used in this configuration file are explained in more detail
%%% in the ejabberd Installation and Operation Guide.
%%% Please consult the Guide in case of doubts, it is included in
-@@ -138,14 +144,16 @@
- %%
- %% ejabberd_service: Interact with external components (transports...)
- %%
-- %%{8888, ejabberd_service, [
-- %% {access, all},
-- %% {shaper_rule, fast},
-- %% {ip, {127, 0, 0, 1}},
-- %% {hosts, ["icq.example.org", "sms.example.org"],
-- %% [{password, "secret"}]
-- %% }
-- %% ]},
+@@ -155,6 +155,17 @@
+ %% }
+ %% ]},
+
+ %%To enable more than one you _must_ change port numbers (here and in service's config)
+ %% {5347, ejabberd_service, [{access, all},
-+ %% {hosts, ["icq.localhost", "sms.localhost"],
-+ %% [{password, ">secret<"}]}]},
++ %% {hosts, ["icq.localhost", "sms.localhost"],
++ %% [{password, ">secret<"}]}]},
+ %% {5347, ejabberd_service, [{access, all},
-+ %% {host, "gg.localhost",
-+ %% [{password, ">secret<"}]}]},
++ %% {host, "gg.localhost",
++ %% [{password, ">secret<"}]}]},
+ %% {5347, ejabberd_service, [{access, all},
-+ %% {hosts, ["ircnet.localhost", "freenode.localhost"],
-+ %% [{password, ">secret<"}]}]},
-
++ %% {hosts, ["ircnet.localhost", "freenode.localhost"],
++ %% [{password, ">secret<"}]}]},
++
{5280, ejabberd_http, [
- http_poll,
-@@ -374,9 +382,9 @@
+ %%{request_handlers,
+ %% [
+@@ -391,9 +391,9 @@
%% All users are allowed to use MUC service:
{access, muc, [{allow, all}]}.
--%% Every username can be registered via in-band registration:
+-%% In-band registration allows registration of any possible username.
-%% To disable in-band registration, replace 'allow' with 'deny'.
-{access, register, [{allow, all}]}.
-+%% In-band registration disabled, let the admin decide who will use his server
-+%% replace "deny, all" with "allow, all" to enable in-band registration
++%% In-band registration disabled.
++%% To enable in-band registration, replace 'deny' with 'allow'.
+{access, register, [{deny, all}]}.
%% Everybody can create pubsub nodes