Monday, July 02, 2018

CUCM 12 Self Provisioning User Experience

Video simply shows the self provisioning audio prompt and real time migration from auto registration to provisioned endpoint.

Here the Cisco 8841 is registered to a RTP data center based dCloud CUCM 12 cluster over VPN setup by Cisco 1841 router over Spectrum 10/100 cable internet.

Wednesday, June 27, 2018

Webex Teams / Spark notes

From a Webex Teams / Spark client you can call other non-Webex Teams / Spark devices without hybrid services.  Prefix the normal SIP URI with SIP:  See below:

Webex Teams / Spark clients can be reached from other SIP based clients as well. From a device capable of dialing SIP URIs other than Webex Teams / Spark, you can reach Webex Teams clients by dialing in the format <user>@<company>  For eaxmaple,

Tuesday, May 22, 2018

Cisco Mobile Expert Remote Notes

Information circa Cisco Moible Expert Remote version 11.6 / May 2018


Use a sample web app to accept calls and eliminate other variables.  Authenticate to REAS locally (default local user / password is agent1 / agent1) to keep it simple.  The cluster name should be your REAS server(s):
https://Cluster IP or FQDN:8443/expertassist/agent

Use a sample web app to generate calls and eliminate other variables. The cluster name should be your REAS server(s):
https://Cluster IP or FQDN:8443/assistsample

If tests using the local user are good, you can extend the test calls to your CUBE or CUCM using the same test web interface:
https://Cluster IP or FQDN:8443/assistsample?agent=sip:1234@

The general administration page is here (the cluster name should be your REAS server):
https://Cluster IP or FQDN:8443/web_plugin_framework/webcontroller

The REAS Management Console is here:
https://Cluster IP or FQDN:9990

Videos from 10.6 versions showing basic configuration techniques.  These appear they may have come from Cafex and the OVA deployment and WebRTC examples are no longer valid:

The Cisco REM troubleshooting doc wiki is incomplete.  More complete instructions including updated / accurate CLI can be found here:


SSH to REAS(s) with rem-ssh user and run service reas status to verify reas is running.
SSH to REMB(s) with rem-ssh user and run service media_broker status to verify remb is running.

Install latest ES releases before troubleshooting regardless of release notes.

Logs are at ./opt/cisco/

The log capture script can now be run like so: ./opt/cisco/ -c -f YOUR_FILE_NAME.tar

Wednesday, December 20, 2017

Blocking Calls Based on Calling Party ID

There are several good write ups on how to block incoming calls on CUCM according to the CLID of the caller.  The feature basically revolves around the ability to "Route next hop by CNGID".  To save reading another version, here's a link to one of the oldest and my favorite:

Here's an image that summarizes it all:

A big caveat though that I recently ran into is how calls presented to CUCM over a SIP trunk  are presented.  In my case, if a caller was hiding their caller ID the From: field in the SIP header contained the word "anonymous" rather than being blank or including zeros or the like.  The issue here is once you ask CUCM to route via the calling ID and if your calling ID is a word rather than some digits, you will find CUCM can't natively handle a request to route the call to a word.  The call is rejected with a 404 error.

The link above includes references to a LUA script that might be applied to the SIP trunk in question.  It also later references a change to the same LUA script.

I'm frankly not terribly comfortable depending on these scripts since I never craft them myself so I am effectively either relearning what they do on the fly or just blindly putting my faith into them.

The alternative I just used was this config on the CUBE routers in question:

voice class sip-profiles 10
request ANY sip-header From modify "<sip:anonymous@" "<sip:0000000000@"

voice service voip
sip-profiles inbound
sip-profiles 10 inbound

It's a more aggressive version of a SIP profile modifying only INVITES suggestion found here:

The idea is the same regardless.  Replace the useless caller id (ie: the word "anonymous") with something else that CUCM understands (ie: 0000000000).

If you have been blocking calls like this and finding you and yours moving to SIP trunks, be forewarned and address it now.

Wednesday, November 08, 2017

UiPath Close Application Activity Value does not fall within the expected range.

While working in UiPath on a UCCX related RPA robot I found the Close Application activity was raising an exception

Main has thrown an exception

Source: Close application

Message: Value does not fall within the expected range.

I couldn't find a solid example of how to implement it correctly in the UiPath documentation but did find the UiPath Academy does provide a sample with the answer.  Ultimately you need to populate the Close Application Target.Selector property correctly.  It does not automatically inherit it from a Open Application activity.

Selector not populated
Selector populated (notepad.exe example)

You can find the appropriate value by one of two ways.  Simply using the Indicate on Screen feature of the Close Application activity to point to a running instance of your application will automatically populate the Target.Selector property.

No Screenshot Selected

Notepad selected (with error message)

Alternatively, you can use the UiExplorer on the Studio menu to find your application XML snippet and populate it manually.

I, for one, welcome our new RPA overloards.