Questions tagged [ejabberd-api]

100 questions
0
votes
1 answer

Ejabberd: How to get list of muc_rooms / disco_items via API for which user is affiliated to?

I am working on setting up API for ejabebrd muc_rooms. Now one user is affiliated with 10 teams. Is there any API or and way from API to fetch the list of teams ( muc_rooms ) of the user? I tried get_user_rooms but realized that the list comes after…
Arpit Vaishnav
  • 4,739
  • 6
  • 39
  • 57
0
votes
1 answer

Why mysql table "muc_room" stores not persistent room?

My ejabberd server uses mysql DB as external storagea and I use method /create_room_with_opts of ejabberd API to create my rooms with option: {name: "persistent", value: "false"}. Everything works file and created rooms looklike actually temporary…
0
votes
1 answer

How do I connect my custom auth script to ejabberd?

I have searched everywhere that I can think of for this. I know how to create my custom auth script (I am using Python) but I just can't figure out how to connect it to the ejabberd server. Does it have to be in a special location? Special name? …
D'Arcy
  • 19
  • 4
0
votes
1 answer

Ejabberd user auth failed with mysql

I have installed ejabberd in my local system with mysql using below reference link. i am using php for server side use. https://medium.com/modern-sysadmin/how-to-install-ejabberd-18-01-xmpp-server-with-mysql-on-ubuntu-16-04-f0facededf2e Everything…
mayur panchal
  • 265
  • 1
  • 16
0
votes
1 answer

Host not served (ejabberd)

I'm using out of the box ejabberd/ecs - Docker Hub and I've tried to run curl command (from my own container) to register the user , yet got following message: Host not served actual curl command w/ output: /app # curl -ks --request POST…
alexus
  • 7,256
  • 12
  • 44
  • 66
0
votes
2 answers

ejabberd: AccessRules: Account does not have the right to perform the operation

I'm trying to follow API Permissions | ejabberd Docs and Configuring ejabberd | ejabberd Docs. yet while trying to register a user: # curl -sk -d '{"user":"test", "password":"testing", "host":"localhost"}' -H 'Content-Type: application/json'…
alexus
  • 7,256
  • 12
  • 44
  • 66
0
votes
1 answer

Ejabberd Oauth: Access denied

I installed and configured an Ejabberd XMPP server. I tested connecting to the server from a mobile app and exchanging messages. Now I want to enable OAuth(need to integrate OAuth token generation into my own Node.js REST API: login on my REST API =…
jemlifathi
  • 1,482
  • 5
  • 22
  • 32
0
votes
1 answer

How to register a new user from android client on Ejabberd server

How can I register a new user from android client on Ejabberd Server? Are there a rest API to solve this issue? Thank's in advance
bbgg2017
  • 187
  • 3
  • 10
0
votes
1 answer

How to register In-band user in particular Virtual Host in Ejabberd with Smack Client?

I am using Smack client 4.3.1 and want to register user using in-band registration method (using Smack's AccountManager). I could create new user with "admin" XMPP connection and users are created in a domain where admin user is there say…
0
votes
1 answer

ejabberd BOSH search brings nothing

We're trying to switch from Openfire to ejabberd XMPP server. I have ejabberd installed with default options on my local Windows 10 workstation. I set mod_vcard: search: true I registered a couple of users using ejabberd ReST API. I also set…
vkelman
  • 1,501
  • 1
  • 15
  • 25
0
votes
1 answer

How to delete mesaage from xammp server in ejabberd

I am new in ejabberd, In our application need to delete chat messages functinality. so that one question in our mind Can ejabberd delete message from xammp server using restApi..or other way...? what is best way for same. Thanks,
0
votes
1 answer

Does ejabberd community edition support rest API

I can't find clear information about the differences between Ejabberd Business and Ejabberd community (apart from the list of RFC/XEP here : https://www.process-one.net/en/ejabberd/protocols/). Especially about the rest API : does community edition…
Bapt_
  • 71
  • 1
  • 8
0
votes
1 answer

Ejabberd trying to subscribe a user through api

I am trying to subscribe a test user to a test room using the Ejabberd API. I am sure I just misconfigured something but I can't seem to find the issue. I am running Ejabberd 16.09 and trying to use mod_http_api My configuration is the…
Jeffrey
  • 189
  • 1
  • 8
0
votes
1 answer

ejabberd-18.12 : parse Packet inside hook

Hook code : user_receive_packet({Packet, #{jid := JID} = C2SState}) -> ?INFO_MSG("~p.", [Packet]), {Packet,…
0
votes
2 answers

retrieve timestamp value inside muc_filter_message hook

Is it possible to get the timestamp of the message inside muc_filter_message hook ? I need to notify the muc messages, the notification payload must include the timestamp of the messages. muc_filter_message(#message{from = From, body = Body} =…