Erlang Jabber-to-Jabber Transport
Erlang D Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
debian
ebin
src
.gitignore
COPYING
Makefile
README.md
ej2j.config
ej2j.sh
rebar.config

README.md

Erlang Jabber-to-Jabber Transport is an implementation of an XMPP-to-XMPP gateway with an external component interface.

INSTALL

Configure XMPP server to listen for a component connection with shared secret:

          {listen, [
          ...
          {8888, ejabberd_service, [
                 {access, all},
                 {shaper_rule, fast},
                 {ip, {127, 0, 0, 1}},
                 {hosts, ["j2j.your.domain"], [{password, "s3cr3t"}]}
                 ]},
          ...
          }

Edit ej2j.config to match your configuration:

          [{ej2j, [
                 {component, "j2j.your.domain"},
                 {component_name, "J2J Transport"},
                 {server_host, "localhost"},
                 {server_port, 8888},
                 {server_secret, "s3cr3t"}
          ]}].

USAGE

Start the J2J transport:

      $ ./ej2j.sh