Skip to content

JabberSend() - [res_xmpp]

Synopsis

Sends an XMPP message to a buddy.

Description

Sends the content of message as text message from the given account to the buddy identified by jid

The example below sends "Hello world" to bob@domain.com as an XMPP message from the account asterisk, configured in xmpp.conf.

Example: Send 'Hello world' to Bob
same => n,JabberSend(asterisk,bob@domain.com,Hello world)

Syntax

JabberSend(account,jid,message)
Arguments
  • account - The local named account to listen on (specified in xmpp.conf)

  • jid - Jabber ID of the buddy to send the message to. It can be a bare JID (username@domain) or a full JID (username@domain/resource).

  • message - The message to send.

See Also

Generated Version

This documentation was generated from Asterisk branch 21 using version GIT