eJabbberd is an XMPP application server written primarily in Erlang (with growing support for Elixir)that is extended through the use of extension modules formally known as XEPs. A list of XEPs can be fond here.
Questions tagged [ejabberd-module]
173 questions
7
votes
3 answers
How to configure or connect ejabberd 18 xmpp server to App server for push notifications ( XEP-0060 XEP-0357 )?
I am using ejabberd 18 as xmpp server, to use push notification implementing mod_push, we need to connect ejabberd server to App server extending ejabberd 18, Is there any plugins or extensions available ? any other way to enable push…

Jithin
- 151
- 1
- 5
4
votes
2 answers
how to tackle a race condition between function calls
I have built a multi player game(to be exact, 4 players) using the Message passing construct of erlang. I have followed the tictactoe game on the following link as a example but what really is similar is the Message passing construct as shown in…

abhishek ranjan
- 612
- 7
- 23
3
votes
1 answer
Ejabberd 21.12 MQTT configuration
I have a fresh install of Ejabberd 21.12 on Ubuntu 20.04. So far I have not been unable to mosquitto_sub or mosquitto_pub a test message.
mosquitto_sub -h mydomain.xyz -t "test/topic" -d -p 1883
Client (null) sending CONNECT
Client (null) received…

radec
- 31
- 2
3
votes
2 answers
Is there any method available to check element in xml before accessing it in erlang?
EncodedData = xmpp:encode(Packet),
io:format("~n EncodedData => ~p~n", [EncodedData]),
{_, Id} = fxml:get_tag_attr(<<"id">>, EncodedData),
{_, To_Jid} = fxml:get_tag_attr(<<"to">>, EncodedData),
{_, From_Jid} = fxml:get_tag_attr(<<"from">>,…

FaaiqKhan
- 143
- 12
3
votes
0 answers
ejabberd mod_restful command unknown
I am trying to interface with ejabberdctl remotely so my nodeJS client can send commands to a remote jabber server, using the mod_restful plugin with the ejabberd REST API. I am able to send a request using postman to test, with admin user and…

kinghenry14
- 1,187
- 1
- 11
- 34
3
votes
3 answers
Ejabberd user registration command fails with {error,access_rules_unauthorized}
I've been trying to set up an XMPP server using ejabberd on windows. every time I try to register a user in ejabberd with this command:
ejabberdctl register admin localhost admin
it gives me this error:
{error,access_rules_unauthorized}
I've…

Soheil__K
- 642
- 1
- 8
- 17
3
votes
2 answers
How to block a particular jabber_id to a particular person in ejabberd?
Hi i had installed ejabberd 16.04.43 in my server and its running as per as i needed.
Now i got new requirement to block a particular person to a particular user
Let me consider few users:
kandan
cash
mani
kumar
lokesh
Each of them has a particular…

Mani Kandan
- 699
- 1
- 10
- 30
3
votes
1 answer
ejabberd and Erlang installation with lager_transform undefined
I am new to Erlang, I have been trying to install Erlang and ejabberd on EC2 ubuntu machine, everything went well till I started compiling some external modules in ejabberd. It started throwing error undefined parse transform 'lager_transform'.
I…

mohit3081989
- 441
- 6
- 13
2
votes
0 answers
Compiling and debugging erlang code- for custom ejabberd modules?
This is a very specific and niche question- but something that'll probably help people working on existing codebases.
Current Scenario
We are running ejabberd 18.01 on prod- and we can't really change this right away. Our current setup for running…

Athena
- 155
- 7
2
votes
1 answer
Custom module in Ejabberd is not called
Original
I was trying for days to adapt an open source Ejabberd module (mod_offline_http_post), working for previous versions, to the current version (20.04). For example, some parts are now important to be exported like mod_options and mod_depends.…

Pape
- 109
- 7
2
votes
1 answer
ejabberd server does not start because ``mod_shared_roster`` module fails to start
I am trying to start an ejabberd server but when I run the command ejabberdctl live or ejabberdctl foreground I am getting an error.
The error states that the mod_shared_roster module cannot start, but the error reason is undef which doesn't help…

Yashawant
- 1,122
- 4
- 10
2
votes
2 answers
Ejabberd Message delivery while application is terminated
I am developing a chat app using ejabberd server for both IOS and Android. I also wrote a module for ejabberd to get the offline messages sent to my own server api .
my own server api will send notifications to the IOS/Android platforms using FCM.…

Tareq Assi
- 149
- 13
2
votes
1 answer
How to directly add user to muc room in ejabberd
How to directly add user to muc room in ejabberd without send invites.
Add user to muc room is done only by admin. Is their any method for using ejabberd rest api.
Please suggest.
thanks in advance.

Prashanth v
- 202
- 3
- 15
2
votes
1 answer
how to add occupants/users to a MUC room?
I have created a persistent MUC room using the ejabberd API "create_room_with_opts". I am now adding a user to the room by subscribing the user to the room using "subscribe_room" API with folowwing req and response.
Req:
{
"user":…

Vishesh Madhusudhana
- 89
- 1
- 10
2
votes
1 answer
XMPP - Roster Subscription Explaination
Consider I've 2 users Alice and Bob on my Jabber Server. To add into the rosters with subscription as both, I need to do the following steps:
Alice sends a subscription request to Bob.
When Bob receives the request, he approves it.
Bob may also be…

Praful Bagai
- 16,684
- 50
- 136
- 267