xmpp

section | description | multi | options
xmpp | xmppc daemon Settings | false |
name | type | required | default | description
enable | boolean | yes | 0 | Enable xmpp feature
conn_req_connection | string | yes | 0 | UCI name section for xmpp connection
allowed_jid | string | no |  | The list of Jabber IDs or addresses that are allowed to initiate an XMPP Connection Request.
loglevel | uinteger | no |  | The log type to use, by default it is set to **'INFO'**. The possible types are **'EMERG', 'ALERT', 'CRITIC' ,'ERROR', 'WARNING', 'NOTICE', 'INFO' and 'DEBUG'**.
connection | Configure xmpp connections | false |
name | type | required | default | description
enable | boolean | no |  | If set to **1**, it enables the XMPP connection.
username | string | no |  | The username of the XMPP connection.
password | string | no |  | The password of the XMPP connection.
domain | string | no |  | The proposed domain-part of the Jabber ID of the XMPP connection.
resource | string | no |  | The proposed resource-part of the Jabber ID of the XMPP connection.
usetls | boolean | no |  | If set to **1**, the CPE will initiate TLS negotiation.
interval | uinteger | no |  | The number of seconds, that keep alive events are sent by the XMPP connection.
max_keepalive_fails | uinteger | no |  | The maximum number of missed keep-alive responses allowed before the connection is considered lost and a reconnection is attempted. A value of 0 means infinite.
attempt | string | no |  | The number of times that the Connection attempts to connect to a given IP address.
initial_retry_interval | uinteger | no |  | The maximum first reconnection wait interval in seconds.
retry_interval_multiplier | uinteger | no |  | The reconnection interval multiplier.
retry_max_interval | uinteger | no |  | The maximum reconnection wait interval in seconds.
serveralgorithm | string | no |  | The algorithm used when connecting with the XMPP server. Two algorithms are supported: **'DNS-SRV' and 'ServerTable'**.
connection_server | xmpp connection server configuration | false |
name | type | required | default | description
con_name | string | no | 0 | UCI connection section name for XMPP connection
enable | boolean | no | 0 | If set to **1**, it enables this XMPP server.
port | integer | no | 0 | The port of the XMPP connection.
priority | integer | no | 0 | The priority of this server instance of the XMPP connection.
weight | integer | no | 0 | The weight of this server instance of the XMPP connection.
server_address | string | no | 0 | The server address of the XMPP connection.