This page last changed on Mar 30, 2011 by wikibot.

JABBER_RECEIVE()

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,bob@domain.com)} returns an XMPP message sent from bob@domain.com (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 (username@domain) or a full JID (username@domain/resource).
  • timeout - In seconds, defaults to 20.

See Also

Function_JABBER_STATUS
Application_JabberSend

Import Version

This documentation was imported from Asterisk version SVN-branch-1.8-r311874.

Document generated by Confluence on Oct 04, 2011 12:42