Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

JABBER_RECEIVE() - [res_jabber]

Synopsis

Reads XMPP messages.

Description

Receives a text message on the given account from the buddy identified by jid and returns the contents.

Example: ${JABBER_RECEIVE(asterisk,[email protected])} returns an XMPP message sent from [email protected] (or nothing in case of a time out), to the asterisk XMPP account configured in jabber.conf.

Syntax

JABBER_RECEIVE(account,jid,timeout)
Arguments
  • account - The local named account to listen on (specified in jabber.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).
  • timeout - In seconds, defaults to 20.

See Also

Import Version

This documentation was imported from Asterisk Version SVN-branch-11-r379343

  • No labels