Is there way to interact with ejabberd administration through a restful http interface that's much like ejabberdctl?

I want to run ejabberd as a multiplayer game server that uses multi user chat (muc) and bosh.

My needs are:
1) to create and delete users
2) to create and delete rooms
3) to add users to rooms

I've installed the mod_muc_admin plugin and it allows me to do all these things from the command line and it works fine for limited volumes. However, this methodology also seems to load the server quite high under what I would consider fairly low load which eventually causes ejabberd to fail to respond. This may be partly because it runs out of file handlers, and/or ejabberdctl ids (default limit is 100) which may be maxed out too quickly (under moderately low load).

I would prefer to have this same functionality accessible through a restful http interface more directly to erlang.

Is there a module/plugin that exposes this functionality?

an ideal situation would be to connect to the ejabberd server with something like this:
http:// my.example.ejabberd.com:8000/create_room?name=MyRoom&service=conference.localhost&host=localhost&adminpassword=123xxx

If not, is there a module/plugin that does some of this that is extensible to do this kind of thing?

any advice would be appreciated.

Take a look at

Syndicate content