res_xmpp

Since 12.0.0 Module Configuration Found this useful? Upvote it. ×

XMPP Messaging

Last reviewed 2026-04-14

Description

xmpp.conf

[global]

Global configuration settings

  • debug - Enable/disable XMPP message debugging
  • autoprune - Auto-remove users from buddy list.
  • autoregister - Auto-register users from buddy list
  • collection_nodes - Enable support for XEP-0248 for use with distributed device state
  • pubsub_autocreate - Whether or not the PubSub server supports/is using auto-create for nodes
  • auth_policy - Whether to automatically accept or deny users' subscription requests
[client]

Configuration options for an XMPP client

  • username - XMPP username with optional resource
  • secret - XMPP password
  • refresh_token - Google OAuth 2.0 refresh token
  • oauth_clientid - Google OAuth 2.0 application's client id
  • oauth_secret - Google OAuth 2.0 application's secret
  • serverhost - Route to server, e.g. talk.google.com
  • statusmessage - Custom status message
  • pubsub_node - Node for publishing events via PubSub
  • context - Dialplan context to send incoming messages to
  • priority - XMPP resource priority
  • port - XMPP server port
  • timeout - Timeout in seconds to hold incoming messages
  • debug - Enable debugging
  • type - Connection is either a client or a component
  • distribute_events - Whether or not to distribute events using this connection
  • usetls - Whether to use TLS for the connection or not
  • usesasl - Whether to use SASL for the connection or not
  • forceoldssl - Force the use of old-style SSL for the connection
  • keepalive - If enabled, periodically send an XMPP message from this client with an empty message
  • autoprune - Auto-remove users from buddy list.
  • autoregister - Auto-register users bfrom buddy list
  • auth_policy - Whether to automatically accept or deny users' subscription requests
  • sendtodialplan - Send incoming messages into the dialplan
  • status - Default XMPP status for the client
  • buddy - Manual addition of buddy to list

User Notes

No notes yet. Be the first to contribute a tip or example.

Contribute a note

Share a tip, gotcha, or practical example. Keep it under 2000 characters. No questions (use the Asterisk community forums for support). Wrap code in backticks.

Moderated before publishing. Email never shown.