I'm trying to get mod_presence from svn working. Everything seems fine, the service shows up in discovery and registering also seems to work (I get the message "Registration is successfull!"). When I try to acess any URL (e.g
The web-admin interface still works so it seems that it's only mod_presence that's not working properly.
I've changed/added the following lines to my ejabberd.cfg:
{listen, ... {5280, ejabberd_http, [http_poll, web_admin, {request_handlers, [{["presence"],mod_presence}]} ]},
and
{modules, ... {mod_presence, [{access, local},{pixmaps_path,"/home/ejabberd/pixmaps"}]}
Any idea what could be wrong?
I'm suspecting that the problem is that I'm using a development version from svn, but I havn't been able to find a download for any "stable" package.
Try http://server:5280/presence/...
When I try to acess any URL (e.ghttp://servername/presence/username/servername/xml ) I always get back a page saying "Not found".
Any idea what could be wrong?
Looking at your config (which is the same than the explained in the README), ejabberd is listening for HTTP connections in port 5280.
So, try this URL instead:
http://servername:5280/presence/username/servername/xml
If that doesn't help, make sure you use ejabberd svn, because mod_presence does not work with ejabberd 1.1.3 and older. Also look in ejabberd log files, both at startup and when you try to browse the URL: maybe there are error reports.
I'm suspecting that the problem is that I'm using a development version from svn, but I havn't been able to find a download for any "stable" package.
That is not the problem. As you mentioned, the only version published is the SVN one available in ejabberd-modules SVN repository.
By the way, if I get time in the next month, I plan to add a pair of features in that module. So, if you finally get it working, and get ideas for new features, you may want to post a comment here with them :)
Problem solved
The problem was that I used ejabberd 1.1.3 instead of SVN version. The solution was to use an older version of mod_presence.
I'm having exactly the same
I'm having exactly the same problem... where did you found the older version of mod_presence ? thanks
Finally I solved it the
Finally I solved it the other way, installing the SVN version of the ejabberd server.
If you want to know, the reason mod_webpresence doesn't display icons etc is because it rely on functionalities of the ejabberd_http module tthat weren't yet implemented on the 1.1.x series.