Module development

programatically filter users that join a room?

I need rooms where only users of certain entitlements can enter - I have member only rooms configured where I want to check the user's entitlement against our server to determine if they can join a member only room. What is the best way of doing this? modifying muc_room:get_affiliation to make a query against the server and return members affilation?
Any help would be greatly appreciated
Thanks
Beena

Handle all MUC messages

Hello.

Skipping an introduction, I need to:
1.Change user's room manually from code

2. Handle special "system" calls (for example calls like /changeroom must be not transported to everybody, but handeled by system and the room of the user must be changed)

3. Store lots of additional data about user in mnesia table (I don't think that LDAP in this case is so wonderful idea)

How would you recommend me to do that? Writing custom MUC or handling all messages in separate module using "filter_..." event notification?

Thank you in advice.

help with windows transport

can someone please tell me how i can install ejabberd transport for windows please!

Message when file is dropped

Hi there,

I'm from germany and I have to do a very specific task with our new ejabberd environment. Our users are connected to some network folders. Now, if someone puts a file in specific folder, another user should be automatically informed via jabber. Something like this: "The File doc.pdf has been placed in your folder...". Any suggestions how to do that?

Ejabberd Single Request Sign On

1 down vote favorite
share [fb] share [tw]

I have a working Ejabberd server (version 2.1.9) and my client application running just fine, but I wish to modify the way the application's XMPP client connects to Ejabberd in order to reduce the number of requests/responses between them, because its for a mobile environment and I wish to reduce the initial connection time.

Developing a custom registration module

Can someone please give me some hints how to develop a custom registration module?

I have tried two approaches:

ejabberd_hooks:add(c2s_unauthenticated_iq, Host, ?MODULE, handler, 50)

This handler function gets called very reliably, but I can't for the life of me figure out how to make it respond with an iq packet. When sending something like:

<iq type='get' id='reg1' to='shakespeare.lit'>
  <query xmlns='jabber:iq:register'/>
</iq>

I'd like to respond with something like:

Syndicate content