Skip to content

JABBER_STATUS() - [res_xmpp]

Synopsis

Retrieves a buddy's status.

Description

Retrieves the numeric status associated with the buddy identified by jid. The return value will be one of the following.

  • 1 - Online
  • 2 - Chatty
  • 3 - Away
  • 4 - Extended Away
  • 5 - Do Not Disturb
  • 6 - Offline
  • 7 - Not In Roster

Syntax

JABBER_STATUS(account,jid)
Arguments
  • account - The local named account to listen on (specified in xmpp.conf)
  • jid - Jabber ID of the buddy to receive message from. It can be a bare JID (username@domain) or a full JID (username@domain/resource).

See Also

Generated Version

This documentation was generated from Asterisk branch 20 using version GIT