Skip to end of metadata
Go to start of metadata

XMPP Messaging

This configuration documentation is for functionality provided by res_xmpp.

xmpp.conf

global

Global configuration settings

Configuration Option Reference

Option Name

Type

Default Value

Regular Expression

Description

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

Configuration Option Descriptions

autoprune

Auto-remove users from buddy list. Depending on the setup (e.g., using your personal Gtalk account for a test) this could cause loss of the contact list.

client

Configuration options for an XMPP client

Configuration Option Reference

Option Name

Type

Default Value

Regular Expression

Description

username

 

 

 

XMPP username with optional resource

secret

 

 

 

XMPP password

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

Configuration Option Descriptions

timeout

Timeout (in seconds) on the message stack. Messages stored longer than this value will be deleted by Asterisk. This option applies to incoming messages only which are intended to be processed by the JABBER_RECEIVE dialplan function.

autoprune

Auto-remove users from buddy list. Depending on the setup (e.g., using your personal Gtalk account for a test) this could cause loss of the contact list.

status

Can be one of the following XMPP statuses:

  • chat
  • available
  • away
  • xaway
  • dnd

buddy

Manual addition of buddy to the buddy list. For distributed events, these budies are automatically added in the whitelist as 'owners' of the node(s).

Import Version

This documentation was imported from Asterisk Version GIT-14-61e4fc5

  • No labels