[ejabberd] Welcome to the "ejabberd" mailing list
tsilva at sourcecraft.info
Sun Sep 30 05:09:21 MSD 2007
I'm playing with ad-hoc commands (xep-0050), but I'm unable to
understand how to announce/publish and execute commands. I'm sending
queries from one client to another, and the server answer in behalf of
the responder (which never receives the request). So, I'm not sure I
understand correctly the xep or the server implementation.
For instance, this is a test I did here. Supose the user
bar at slack-lap.casa is querying foo at slack-lap.casa about the commands
from='bar at slack-lap.casa'
to='foo at slack-lap.casa'>
The server responds in behalf of foo with an empty list:
<iq from="foo at slack-lap.casa" type="result" to="bar at slack-lap.casa/Psi" >
So, foo at slack-lap.casa never gets the query, therefore, it can't send
a response with his own list of commands.
Now, I don't understand how can I attach some commands to
foo at slack-lap.casa and having other JIDs (like bar@) querying for
these commands and execute them. I must be missing something... I
tried looking at the manual, configuration file, etc, but didn't find
Can anyone help? (using ejabberd 1.1.4)
More information about the ejabberd