Friday, January 29, 2016

Cisco CUCME CLI commands

I don't run into Cisco CUCME systems much anymore and to complicate things the newer model SIP phones aren't accessible through the usual admin GUI.  Notes to self...

To show registered phones:
For SCCP phones use: show ephone registered
For SIP phones use: show voice register statistics

To show the status of phones:
For SCCP phones use: show ephone
For SIP phones use: show voice register all

To create phone config files:
For SCCP phones use: telephony-service | create cnf-files
For SIP phones use:  voice register global | create profile

To show created config files:
For SCCP phones use: show telephony-service tftp-bindings
For SIP phones use: show voice register tftp-bind

Saturday, December 19, 2015

UCCX 10.6 Notes

Miscellaneous UCCX v10.6 notes: 

==========

Finesse log in usernames are still case sensitive at this time. If MS AD says your username is jAnE123, you need to log into Finesse as jAnE123.


==========

To enable support for the Finesse browser based client:
at CLI, run utils uccx finesse activate 
This needs to be run on both master and secondary HA nodes and both servers need to be rebooted

==========

To verify Finesse master node and health:
https://<IP of Master node>:8445/finesse/api/SystemInfo 

==========

To access Finesse client:
https://<IP of Master node>:8445/desktop/ 

==========

The default Finesse agent client on UCCX 10.6 includes an Agent CSQ Statistics Report and an Agent Team Summary Report.  If an agent is assigned to a team (could even be the default team) and there is no CSQ associated with the team, the user will see "Error processing report. Refresh page or contact administrator."  Add CSQs to your teams.  Here's a before and after screenshot:

Broken link to Agent CSQ Statistics Report:
Default Finesse agent page with working Agent CSQ Statistics Report
==========

The default Finesse agent client on UCCX 10.6 includes an Agent CSQ Statistics Report. Your resources / agents must on a team that is assigned a CSQ to see the CSQ statistics. An agent may have a skill that allows them to take a call for a CSQ but they may still not be able to see the CSQ statistics in the Agent CSQ Statistics Report. If an agent has a skill that allows them to take a call for a CSQ, but they are on a team that is not assigned that skill, the user will see "Error processing report.. Refresh page or contact administrator." Again, add CSQs to your teams.

==========
VOIP Monitor Subsystem in PARTIAL SERVICE
A search of Cisco documentation will point you here: http://docwiki.cisco.com/wiki/VOIP_Monitor_Subsystem_is_in_partial_service_or_OOS but the issue in my case was a bit more devious.  After removing a HA UCCX server from the cluster (long story...) the second server remained an option as a VoIP Monitor Service and Recording and Playback Service.

From UCCX Desktop Administrator you can choose "Remove VoIP/Recording and Playback" link, select the associated server and hit Remove.  I found at that point I still needed to restart the UCCX Engine to return it to FULL SERVICE.

Friday, December 04, 2015

QoS conversions and testing with extended ping commands - version 2

Years ago I posted a tip regarding using Cisco IOS devices' extended ping capabilities to emulate traffic with various QoS / quality of service markings.  You can find the original post here: http://webmaxtor.blogspot.com/2010/08/qos-conversions-for-extended-pings.html

Recently I happened upon a great post at http://www.netcontractor.pl/blog/ that provides a JPG with more complete examples of various DSCP, tos, IP precedence, etc. values.  The latest version current appears at http://www.netcontractor.pl/blog/?p=1161.  Thank you to Netcontractor.pl for putting that together.

Here is their current v3 chart:


Below is the body of my post showing how to use the Cisco IOS ping command to tag ICMP traffic with various markings.  Using the TOS values from the table above you should be able to emulate just about any traffic type for QoS class map testing:

QoS conversions for extended pings sample

To emulate DSCP tagged traffic:

ef = dscp 46 = 101110 = tos 0xb8 (184) = ip prec 5
af31 = dscp 26 = 011010 = tos 0x68 (104) = ip prec 3
af32 = dscp 28 = 011100 = tos 0x70 (112) = ip prec 3
cs3 = dscp 24 = 011000 = tos 0x60 (96) = ip prec 3

voice_gw#ping ip
Target IP address: 10.10.10.1
Repeat count [5]: 100
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]: y
Source address or interface: 10.20.10.1
Type of service [0]: 184 --->dscp is ef
Set DF bit in IP header? [no]:
Validate reply data? [no]:
Data pattern [0xABCD]:
Loose, Strict, Record, Timestamp, Verbose[none]:
Sweep range of sizes [n]:
Type escape sequence to abort.

A simple way to calculate is to put your binary representation of the value into your calculator and add two zeros to the end (i.e. 101110 becomes 10111000).

If you are looking to emulate IP Precedence values, use 224,192,160,128,96,64,32,0 for IPP 7 to 0

Monday, November 23, 2015

Cisco SNR / Mobility / Single Number Reach How To

Here's a little text file I've had on my desktop for awhile.  Just cleaning laptop house... 

SNR Notes:
  1. Create / find an end user and associate his deskphone
    1. user needs to control device on user page
    2. device needs to be owned by user on device page
  2. Configure Remote Destination Profile
    1. Device->Device Settings-> Remote Destination Profile
    2. Make sure your remote destination number (i.e. your Mobile number) matches a Route pattern going to your Gateway
    3. Make sure the Re-routing CSS has the access to the Route pattern to successfully route the call to your mobile numbe
  3. Associate the line number to your desk phone extension
  4. Configure Remote Destination
    1. Device->Remote Destination
    2. Make sure you check Mobile phone and enable Mobile connect.
    3. Associate it with the Remote Destination Profile
  5. Add Mobility to softkey template

Thursday, November 19, 2015

VMware Deploy OVF from datastore URL

VMware Deploy OVF from datastore URL

When building new servers on Cisco UCS BE6K / BE7K chassis, you likely have all the OVAs you need already on the datastore(s). My problem is I never remember the HTP URL syntax to use to point the "Deploy OVF Template" dialog back to the datastore.  I typically end up downloading the OVA to my loccal PC and then uploading it again via the dialog because you can simply browse file your file share for the file.  You can enter a URL instead to save the hassle but what is it?


I don't know.

Here's a nice VMware document on the syntax but in the time it takes to figure it out, you could have been down my silly upload / download way: https://pubs.vmware.com/vsphere-55/index.jsp?topic=%2Fcom.vmware.wssdk.pg.doc%2FPG_Appx_Http_Access.21.3.html

Try this instead:
  • Open a browser and navigate to http://your_ESXi_interface/folder
  • You'll be challenged for a user that has access to the ESXi environment.
  • Enter the credentials and you should be able to drill down to the file you are looking for, right in your browser.
  • When you find the one you want, right click and Copy Link Location (in Firefox, or the equivalent in your browser).
  • Return to the "Deploy OVF Template" dialog box and paste.


Yeah. Easy giant URL.