Questions tagged [ejabberd-api]

100 questions
8
votes
1 answer

ejabberd API invite to MUC room

I am working on ejabberd API to invite users to MUC room. I have setup OAuth for API. I have tested oauth with get_room_occupants and its working fine. Now, I am trying to access /api/send_direct_invitation, but as per logs, I don't have permission…
Arpit Vaishnav
  • 4,739
  • 6
  • 39
  • 57
3
votes
1 answer

How to use OAuth token to connect with ejabberd in Stophe.js?

I am trying to connect to ejabberd server from strophe.js. I have enabled OAuth in ejabberd and due to which I am able to get OAuth token successfully for the user, once user have been authenticated. Workflow is something like above :- When user…
Mangu Singh Rajpurohit
  • 10,806
  • 4
  • 68
  • 97
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
2
votes
1 answer

Register new user in ejabberd with REST API

I am using ejabberd-18.01 on Windows 10 (localhost). I am trying to connect to ejabberd via Postman using the web method: POST: localhost:5280/api/specific_api_method As per the official API documentation…
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":…
2
votes
1 answer

I am getting error AccessRules: Account does not have the right to perform the operation when I am using postman to hit the register api of ejabberd

What version of ejabberd are you using? 17.04 What operating system (version) are you using? ubuntu 16.04 How did you install ejabberd (source, package, distribution)? package What did not work as expected? Are there error messages in the log?…
Rishabh Pandey
  • 209
  • 1
  • 4
  • 16
2
votes
2 answers

How to create chat room in ejabberd through rest api?

I know that I can create chat room in ejabberd using command ejabberdctl create_room room_name muc_service xmpp_domain and I can send invites to users using command ejabberdctl send_direct_invitation room_name password reason jid1[:jid2] Can someone…
Ankit
  • 326
  • 1
  • 7
  • 18
1
vote
1 answer

Random error if multiple user send messages at a time in xmpp server

I am using github.com/mattn/go-xmpp/xmpp golang package to send the messages to ejabberd. This is working fine but sometime it gives random error client error : expected success or failure, got error in http://etherx.jabber.org/streams client error…
1
vote
0 answers

Ejabberd Server-Consumer Communication Mode

I am a graduate student conducting a comprehensive survey of open-source messaging middleware. I have a couple of questions about the Communication Mode of Server-Consumer traffic in Ejabberd (eCS). For a message that is sent from ejabberd to a…
1
vote
1 answer

Can't able to create a room in ejabberd through REST API

I'm trying to create a room in ejabberd with REST API. I'm using /create_room API to create room as mentioned in the documentation. When I tried to hit the API, I receive the response as 0 which means success (as mentioned in the…
rangarajan
  • 143
  • 5
  • 17
1
vote
1 answer

Configuration related issue while implementing pyejabberd message system

I am implementing a message system in my python app and to achieve this I am using the client library of ejabberd which is pyejabberd. I have checked the official documentation of this to configure the ejabberd.yml file but getting some errors.…
1
vote
1 answer

ejabberd xmpp set presence for offline user

For a status application we are using ejabberd xmpp server. At some times, a status must be set from a web server for a user. It may be that the user doesn't have an active xmpp session. I tried with…
Jerre
  • 11
  • 1
1
vote
1 answer

Ejabbed audio/video call is not working on different network

I am using ejabberd for chat and audio/video and implemented from the following URL https://www.process-one.net/blog/how-to-set-up-ejabberd-video-voice-calling/ Audio-video calling is working in the same network but when both android app using…
1
vote
1 answer

How to build a chat app in react native using ejabberd

I want to build a chat app that has 1-1, and group chat features along with online status,typing indicator,etc in react native that uses ejabberd. I wanted to ask whether I can do it just by using ejabberd Rest api calls from my front end. Also I…
Aryaman Shrey
  • 93
  • 1
  • 9
1
2 3 4 5 6 7