[ejabberd] Setting presence externally

Michael Weibel michael.weibel at gmail.com
Fri Nov 2 10:43:01 MSK 2012


hi david,

you could install mod_rest which allows you to POST arbritrary stanzas from
an external program and send there a presence stanza with a custom chat
state.

-michael
Am 01.11.2012 23:36 schrieb "David Cunningham" <dcunningham at voisonics.com>:

> Hello,
>
> I've been trying to work out how I can set an ejabberd user's status from
> an external program. My research so far hasn't been fruitful.
> The scenario is that if a user goes on a telephone call, I want the
> telephone system to set their status to "On the phone" for anyone who's
> buddies with that user. It doesn't need to update the user's own jabber
> client.
> Can anyone advise how this might be done?
>
> Thanks very much.
>
> --
> David Cunningham, Voisonics
> http://voisonics.com/
> USA: +1 213 221 1092
> UK: +44 (0) 20 3298 1642
> Australia: +61 (0) 2 8063 9019
>
>
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20121102/731e6560/attachment.html>


More information about the ejabberd mailing list