Wednesday, September 14, 2016

Cisco Meeting Server (CMS) Part 2 - XMPP and CMA

Part 1 - Making your first call to CMS
Part 2 - XMPP and CMA
Part 3 - Integrating Core and Edge

In our previous post - Part 1 (, we have set up the basics of CMS, and making our first call to CMS Space, as well as allowing multiparty video conference with CMS.  Now let's do something else.  XMPP is a service module that is running on CMS Core, one of its function is to allow Cisco Meeting App (CMA) to login and be one of the soft client running on PC / Mac / mobile devices.  We are going to go through a few steps and at the end of this post, you will be able to login your CMA and start to make calls.

Setting up XMPP in CMS Core

1. If you want to create a csr for your CA to sign, you can use the pki csr command.  In my lab I am using self sign cert to make it simple.

pki selfsigned xmpp

2. Configure xmpp interface, certs and domain.

xmpp listen a
xmpp certs xmpp.key xmpp.crt
xmpp domain
xmpp enable

You can check your configuration with the command xmpp status, or simply xmpp.


3. Add Callbridge to your XMPP.  You can give your callbridge a name / tag, it doesn't necessary the hostname / FQDN of your callbridge.

xmpp callbridge add cms

Remember the name of your callbridge that was entered and the secret.  If you forgot that, you can use this command to check.

xmpp callbridge list

4. Switch back to the web interface, under Configuration > General, under XMPP server settings, enter the domain, server address, call bridge name and secret that you have got from step #3.

5. Make sure you have the DNS A and SRV records are created in your internal DNS.

In my lab it is a Windows one.

Host record of my CMS core:

SRV record (_xmpp-client, _xmpp-server):

6. AD integration.  There is no option to create local users on CMS, this is my lab AD information that I've put in the CMS UI.

7. Get your Cisco Meeting App (CMA) from if you are testing with your Windows / Mac.  For mobile app you can download it from iTunes store / Google Play Store for free.

Sign in with your AD credential.  The format of the username will be username@domain

This is what you should expect after logging in:

After these steps, you are now able to login and use CMA as your client for calls.

Part 1 - Making your first call to CMS
Part 2 - XMPP and CMA
Part 3 - Integrating Core and Edge


mal nguyen said...


my meeting app stuck at sign-in for a long time . any idea?



Shivam said...

I am getting error "handshake error 104 on incoming connection X" on AD integration.

Pls suggest what need to check

Shivam said...

I am getting error " handshake error 104 on incoming connection X" while integrating AD on CMS ver 2.0

Pls suggest what need to check?

Mohamed Bineesh said...

Am not able to Enable XMPP. Am getting below errors when i issue the command

cms> xmpp enable
FAILURE: Callbridge not activated
SUCCESS: Domain configured
SUCCESS: Key and certificate pair match
FAILURE: XMPP server configuraton not complete
cms> xmpp callbridge add cms
XMPP must be enabled before configuration

Olah Laszlo said...

Have you licensed the CMS? Without licensing the callbridge cannot be activated.