[asterisk-users] User on PC?

Jared Smith jsmith at digium.com
Mon Mar 1 17:35:03 CST 2010


On Mon, 2010-03-01 at 23:46 +0100, Leif Neland wrote:
> I'm looking for a way for linux to query a pc if user X is on, and has 
> used the pc recently or the screensaver is not active.
> 
> If so, I'll route a call for user X to the phone near that PC.

If you're using a relatively modern version of Asterisk, you could use
the res_jabber and the JABBER_STATUS function to see if they're marked
as available in their XMPP IM client.  (Most IM clients will set the
status to away when the screensaver kicks in.)

--
Jared Smith
Digium, Inc.





More information about the asterisk-users mailing list