Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm using ejabberd to implement a web "live chat". At one point during my experimentation I had it so when you logged in the client would show the presence of all other logged in users. After many config changes I have the system working the way I want except it's stopped reporting the presence of other users.

Basically I want the client to know when the admin is logged in, as this will enable them to know wether they'll get an answer before writing their question. At the moment it doesn't even tell you if the message you sent was received at all when the admin is offline (it just gets quesued for later delivery).

I'm using jwchat as the client and although I can capture all presence packets it does not appear that ejabberd is sending them (maybe a privacy thing, I don't know). Any ideas?

EDIT: Best I can tell I need mod_roster however I cannot find any documentation on how to configure it. Does anyone have any information they can share?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

The solution turned out to be be creating shared roster groups via the web admin interface.

name: operators
members: operator1@domain, operator2@domain, ...
displayed groups: operators

name: everybody
members: @all@
displayed groups: operators

I also set the operators' Pidgin to hide offline users or else the buddy list quickly grows too long as new guest accounts are added.

share|improve this answer
    
Don't forget to mark this answer as the accepted answer. –  Eric Jul 20 '09 at 7:59
    
ok, but it's my own answer, I thought you couldn't do that? –  SpliFF Aug 26 '09 at 5:55

Are you using mod_webpresence or doing something else?

http://www.ejabberd.im/mod_webpresence

share|improve this answer
    
I don't have mod_presence or mod_web_presence, but i don't really understand what those module do or how to configure them. the ejabberd docs are really awful when it comes to modules and their options. –  SpliFF Jun 21 '09 at 15:25
    
Okay... what made you decide to go with ejabberd as opposed to something like openfire? What are your needs? If you had other/easier software would that work for you? –  KPWINC Jun 22 '09 at 3:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.