Questions tagged [ejabberd-api]

100 questions
0
votes
1 answer

Join MUC room to become occupants of MUC room via Ejabberd API

I am working on sending message to muc room via API http. I observed that it s possible by get_room_occupants users who has joined muc room. Now, from ejabberd muc room I have found that team members are there but are not occupants of the team,…
Arpit Vaishnav
  • 4,739
  • 6
  • 39
  • 57
0
votes
1 answer

How to access ejabberd admin api via HTTP

I m getting token…
Sanjay Sahu
  • 43
  • 2
  • 7
0
votes
1 answer

Message lost when recipient disconnect suddenly in Ejabberd

Message lost when recipient disconnect from INTERNET suddenly due to some network problem. In this case I want to stop message lose. Example: User A and B are online and chatting. A send messages to B. Then suddenly User B lost INTERNET connection,…
0
votes
1 answer

ejabberd rest API without authentication, 403 Forbidden (error code 32)

I'm trying to access ejabberd rest api without authentication but always get a 403 Forbidden response with this body : { "status": "error", "code": 32, "message": "AccessRules: Account does not have the right to perform the…
McQuack
  • 393
  • 2
  • 15
0
votes
1 answer

How does handshaking takes pace in ejabberd server

I have just started using ejabberd as a messaging server. Now I have read that TCP connections follow the handshaking method for setting up the connection, and I was wondering that how ejabberd follows the handshaking method whenever any client…
0
votes
1 answer

ejabberd api/register(check_account) error Account does not have the right to perform the operation

When i open in browser address http://127.0.0.1:5280/api/check_account i get error {"status":"error","code":32,"message":"AccessRules: Account does not have the right to perform the operation."} Config: port: 5280 ip: "127.0.0.1" module:…
0
votes
1 answer

How to Use ejabberd register module for custom login

I am new to ejabberd and erlang and have created a basic application that first checks that whether the user has login or not. So basically it checks the mnesia table of login and confirms this. Now I saw that ejabberd also has a registration…
0
votes
3 answers

400 bad request error while calling ejabberd api

I am getting 400 bad request error while calling "/api/get_roster" endpoint of ejabberd. I had kept "get_roster" in the scope while requesting the oauth token. 400 bad request error in ejabberd I guess there is some issue with the permissions. Here…
Vikas Roy
  • 13
  • 2
  • 8
0
votes
1 answer

Ejabberd mod_muc and mod_muc_room differentiation

Im looking at ejabberd code and realized that there are two modules that left me very confusing. mod_muc.erl and mod_muc_room.erl. Im not really sure how to differentiate between them. Any inputs or examples as to when each of the modules come to…
sad
  • 820
  • 1
  • 9
  • 16
0
votes
1 answer

Is there a .net client for administering ejabberd server?

I am looking to be able to control the ejabberd server using a simple .net wrapper over the ejabberd xml-rpc API. Apparently there is already a Java library for this purpose, in addition to Perl (see this:…
Najeeb
  • 313
  • 1
  • 5
  • 19
0
votes
1 answer

Is ejabberd suitable for us?

we want to create a backend for a messenger in our application. We have an iOS&Android client app and a webApplication. We need 1-on-1 chat, group chat, photo/file support etc. All the basic stuff a messenger has. I also want to see my message…
0
votes
1 answer

ejabberd add_rosteritem process_rosteritems

I am fairly new to ejabberd 16.06 on Ubuntu 14.04 and I am trying to use it with an external DB, Azure SQL server. Almost everything works fine (except for a connection problem I talk about in another post). What I am trying to understand better…
zirqLvgOhM
  • 150
  • 2
  • 11
0
votes
0 answers

ejabbred api is not configured properly

I have tried rest api in which i got reference from their document.But somehow its not working so anyone please help me out if possible. I have tried change_password api with below code :…
Ankit Doshi
  • 1,164
  • 3
  • 21
  • 43
0
votes
1 answer

ejabberd - Configuration of mod_http_api

I'm in the midst of testing mod_http_api to replace the existing usage of mod_rest in our implementation. I can unrestrict access to some commands from group of IP addresses by using option "admin_ip_access". I can successfully execute some commands…
lxnx
  • 194
  • 2
  • 17
0
votes
0 answers

How to add users in ejabberd multi user chat?

I was working on ejabberd chat, I'm able to create multiple user chat room with command sudo ejabberdctl create_room mychat localhost xmpp_domain I want to know how to create that in virtual host as it is not being created in virtual host and how…
Ankit
  • 326
  • 1
  • 7
  • 18