Questions tagged [ejabberd]

ejabberd is a Jabber/XMPP instant messaging server, licensed under GPLv2 (Free and Open Source), written in Erlang/OTP. Among other features, ejabberd is cross-platform, fault-tolerant, clusterable and modular.

ejabberd is an open source Jabber/XMPP server designed from the ground up to be the building bricks of highly critical messaging systems.

Written in Erlang programming language, ejabberd is cross-platform, fault-tolerant, clusterable, very modular and highly versatile. It can be extended in other programming languages, such as Elixir.

Designed to be massively scalable, it is widely used to power web scale deployments across many software industries: Mobile messaging, Social Networks, Gaming, Internet of Things, …

Designed by ProcessOne, it is used by a community of enthousiastic users to build real time system of all kind.

ejabberd is taking great care of XMPP compliance, implementing most of the XMPP extensions published by the XMPP Standard Foundation.

Getting started

Developing messaging service with ejabberd

2395 questions
25
votes
6 answers

XMPP client using Smack 4.1 giving NullPointerException during login

I am trying to use Smack 4.1.0-rc3 for implementing a java xmpp client which connects to a ejabberd xmpp server. I am using the following code for connecting to the server. XMPPTCPConnectionConfiguration connConfig = …
Deepu
  • 311
  • 3
  • 4
25
votes
6 answers

ejabberd online status when user loses connection

I have ejabberd setup to be the xmpp server between mobile apps, ie. custom iPhone and Android app. But I've seemingly run into a limitation of the way ejabberd handles online status's. Scenario: User A is messaging User B via their mobiles. User B…
Johan Vorster
  • 473
  • 6
  • 16
20
votes
7 answers

Ajax jabber/XMPP client recommendations (real experience only please) !

i'm setting up a chat system for my niche social site and have decided on ejabberd for the server side, but i cannot find any decent web-based ajax clients. most seem to be abandoned years ago or simply do not work. i've looked at every single one…
Sherif Buzz
  • 1,218
  • 5
  • 21
  • 38
20
votes
3 answers

Integrating Smack with Android Studio project for chat application

I am trying to implement a chat messenger using ejabberd server and smack library but having a hard time to integrate all the jars and dependencies of smack. I am using android Studio. My build.gradle(module): apply plugin:…
no one
  • 477
  • 6
  • 19
17
votes
3 answers

ejabberd and Push Notification

I have integrate chat system in my iOS and Android app using XMPP. I have used ejabberd 2 in the server side. Chatting sytem works fine. I want to integrate push notification in my chating using APNS and GCM. How can I send a push notification with…
vks
  • 6,649
  • 7
  • 36
  • 55
16
votes
2 answers

How to fully integrate XMPP on a web site with registered users

We have a social networking site where people have contacts and we want it to be integrated with XMPP. We currently use ejabberd XMPP server. Here are my questions: How to properly create account? Right now, what I'm thinking is on user…
putolaruan
  • 2,084
  • 2
  • 21
  • 32
16
votes
8 answers

How to create global variables in Erlang

I am writing an ejabberd module to filter packets. I need to get the hostname to pull some configs using gen_mod:get_module_opt(). I have 4 important functions : start(Host, _Opt) : This is an ejabberd function to load my module. I get the Host…
Adil
  • 395
  • 1
  • 5
  • 14
14
votes
4 answers

How to filter messages in Ejabberd

I have Ejabberd up and running with test users, and its working fine. I want to write a module that can intercept messages and modify them, as follows : intercept "messages" send them to a php file get the result from the same php file…
Adil
  • 395
  • 1
  • 5
  • 14
13
votes
2 answers

amqp or xmpp for real time online games

Which of these technology suite for Multi user online game project? Project requirements: Able to handle 2k-5k user at any given time. client library for iphone and android (native, no javascript). client library for Microsoft Windows (most…
user381930
  • 181
  • 1
  • 1
  • 5
11
votes
1 answer

which is more efficent among ets and mnesia

ets:select vs mnesia:select Which is better to use.And also in case of insertion and deletion which one of these two we should use.I am working on ejabberd.Any pointers?
Geek
  • 698
  • 1
  • 6
  • 25
11
votes
1 answer

Sharing Jabber chat session between multiple clients

I'm using Jitsi on client side and ejabberd on server. It seems that the chat sessions are specific to clients, i.e. if I'm logged in to the same account from 2 different clients, there will be 2 separate sessions, and one can't see what's happening…
Unirgy
  • 1,495
  • 15
  • 25
10
votes
1 answer

Smack "Must have a local (user) JID set" error

Unable to understand why this error frequently comes and app gets crash. Below error: Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.studyboard/com.studyboard.ChatMessageActivity}:…
Anil Ravsaheb Ghodake
  • 1,587
  • 2
  • 27
  • 45
10
votes
1 answer

OS X ejabberd, New user register by XMPPFramework

I'm new for ejabberd. I want to add new user on server through my iOS App. I tried with many code that was find out from the Google but no one can solve my issue. I set module to…
iPatel
  • 46,010
  • 16
  • 115
  • 137
10
votes
3 answers

xmpp messages are lost when client connection lost suddently

I am using ejabberd server and ios xmppframework. there are two clients, A and B. When A and B are online, A can send message to B successfully. If B is offline, B can receive the message when B is online again. But when B is suddenly/unexpectedly…
xhsoldier
  • 575
  • 6
  • 31
10
votes
7 answers

Create ejabberd user from PHP

I need to create an ejabberd user from a PHP script. I also need to be able to add the new user to a predefined shared roster. Should I just call ejabberdctl using exec() or is there a better way?
Andrew Ensley
  • 11,611
  • 16
  • 61
  • 73
1
2 3
99 100