Skip to content

master/ej2j

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d9f78bf · Jul 17, 2012

History

48 Commits
Jul 17, 2012
Jul 17, 2012
Jul 17, 2012
Feb 29, 2012
Apr 25, 2011
Jun 24, 2012
May 9, 2011
Apr 6, 2012
Jan 18, 2012
Jan 18, 2012

Repository files navigation

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