https://github.com/master/ej2j
Erlang Jabber-to-Jabber Transport
https://github.com/master/ej2j
erlang jabber xmpp
Last synced: 12 months ago
JSON representation
Erlang Jabber-to-Jabber Transport
- Host: GitHub
- URL: https://github.com/master/ej2j
- Owner: master
- License: mit
- Created: 2011-04-25T15:42:45.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2012-08-31T14:58:53.000Z (almost 14 years ago)
- Last Synced: 2023-03-11T09:27:35.493Z (over 3 years ago)
- Topics: erlang, jabber, xmpp
- Language: Erlang
- Homepage:
- Size: 189 KB
- Stars: 5
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
Erlang Jabber-to-Jabber Transport is an implementation of an XMPP-to-XMPP [gateway](http://xmpp.org/extensions/xep-0100.html) 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:
``` erlang
{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:
``` erlang
[{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