Erlang Jabber-to-Jabber Transport
Erlang Shell
Switch branches/tags
Nothing to show
Pull request Compare This branch is 26 commits behind master:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ebin
src
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] (http://xmpp.org/extensions/xep-0114.html) 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