I have Ejabberd up and running with test users, and its working fine. I want to write a module that can intercept messages and modify them, as follows :
- intercept "messages"
- send them to a php file
- get the result from the same php file (immediate)
- Modify the message stanza and send it down the wire to the recipient
The ejabberd documentation is weak and tutorials are non-existent. Can you give me some sample code that does this. I can then figure how to configure it for my needs.
Thanks a bundle!
Adil