Skip to end of metadata
Go to start of metadata

JABBER_STATUS() - [res_xmpp]


Retrieves a buddy's status.


Retrieves the numeric status associated with the buddy identified by jid. If the buddy does not exist in the buddylist, returns 7.

Status will be 1-7.

1=Online, 2=Chatty, 3=Away, 4=XAway, 5=DND, 6=Offline

If not in roster variable will be set to 7.

Example: ${JABBER_STATUS(asterisk,[email protected])} returns 1 if [email protected] is online. asterisk is the associated XMPP account configured in xmpp.conf.


  • 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 ([email protected]) or a full JID ([email protected]/resource).

See Also

Import Version

This documentation was imported from Asterisk Version Unknown

  • No labels