Skip to content
/ ej2j Public
forked from master/ej2j

Erlang Jabber-to-Jabber Transport

License

Notifications You must be signed in to change notification settings

socialabs/ej2j

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Erlang Jabber-to-Jabber Transport

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Erlang 95.8%
  • D 3.2%
  • Other 1.0%