Configuring XMPP
This tutorial provides an example approach for enabling XMPP on a device.
The sample parameters use the InternetGatewayDevice:1
data model.
To enable XMPP for devices using the Device:2
data model, change InternetGatewayDevice
to
Device
for each parameter name.
Configure an XMPP Device
On the CPE device, configure the following parameters.
Name | Value |
---|---|
InternetGatewayDevice.ManagementServer.ConnReqXMPPConnection |
Device.XMPP.Connection.1 |
InternetGatewayDevice.XMPP.Connection.1.Domain |
|
InternetGatewayDevice.XMPP.Connection.1.Username |
Note: Must be unique to the device.
|
InternetGatewayDevice.XMPP.Connection.1.Password |
|
InternetGatewayDevice.XMPP.Connection.1.Resource |
|
InternetGatewayDevice.XMPP.Connection.1.Enable |
true |
Set XMPP Parameters Using ACS CLI
Log into the ACS CLI and set values for the following parameters.
XMPP Parameters
$ acscli -c XMPP_CONREQ_ENABLE=true
$ acscli -c XMPP_CONREQ_SERVER=<username>/<password>@<ip-address>:<port>/<resource>
Where:
<resource> matches the value defined in the parameter InternetGatewayDevice.XMPP.Connection.1.Resource
Configure a Device Model for XMPP
Set the XMPP parameters in the device model of the device for which you will activate XMPP.
Create a Service Class for XMPP
Set the XMPP parameters in the device model of the device for which you will activate XMPP.
About TLS
The SSL/TLS port must be that specified in your XMPP server documentation. For example, if you use TLS with the Openfire server, use port 5223.
XMPP_CONREQ_SERVER=acs/incognito@172.20.3.43:5223
XMPP_CONREQ_UseTLS=true
If you use non-TLS with the Openfire server, use port 5222.
XMPP_CONREQ_SERVER=acs/incognito@172.20.3.43:5222
XMPP_CONREQ_UseTLS=false
For more information about using TLS, refer to the TR-069 standard, Amendment 5.
Configure TLS for XMPP
Configure transport layer security (TLS) to encrypt traffic between a device and the XMPP server.