Cisco CDR
Cisco Contact Center gives you great visibility for Contact Center, and products like ours give you great visibility into CallManager…
…but have you noticed there’s a CUBE-sized blind spot in your picture of overall call flow?
Lucky for you, we can make sense of this data now. All the H.323 and SIP traffic, media streams (both RTP and RTPC), all the handoffs to DTMF and all the other things that CUBE and vCUBE can do – we shine a flashlight into that darkness and let you start using that data as part of the overall picture you can get from our Cisco CDR Reporting and Analytics app.
We are going to assume that:
The steps that we will perform to enable ingesting CUBE CDR data are:
CUBE/vCUBE (from now on I’m just going to write CUBE since it covers both products) only supports FTP as far as we can tell. This means that the standard and recommended method we use for collecting CDR data from CallManager – SFTP – can’t be used with CUBE.
There are many FTP packages that you could use and practically any of them should work fine. If you don’t have one installed already, then follow along below to get some guidance on getting FTP up and running.
If you already know the Linux distribution installed on your UF (Red Hat Enterprise Linux, Ubuntu, Slackware, etc…) you can skip this step.
cat /etc/*-release
This step is distribution specific, so if you don’t know which distribution you are using please see the section immediately above this one, then come back here.
For Ubuntu, follow setting up an FTP server on Ubuntu. You’ll only want the steps vsftpd – FTP Server Installation and User Authenticated FTP Configuration – DO NOT set up Anonymous FTP! Also be very careful to not accidentally set the anon_upload_enable=YES flag, which for some reason is stuck in the middle of the Authenticated FTP configuration section.
For Red Hat and its various versions you can follow these instructions on setting up an FTP server on Red Hat.
Other Linuxes (Linuxen? Linuxii?) – just search the internet for “<my distribution> FTP server” and try to find the most “official” looking instructions you can to enable non-anonymous FTP. If you check out the two directions linked above you can get a feel for what that might look like.
Also, if you have a preference for an FTP server you are comfortable with, by all means use it instead of our instructions. It won’t hurt our feelings.
You can use any ftp client you have available to confirm this. Preferably one on a different system so you can confirm there’s no firewall on the local system blocking you.
We recommend creating a temporary file with any content you want and confirming
If you have any problems at this point, review the installation steps you used to install and also confirm there’s no firewall either between you and the FTP server or on the local FTP server itself. If so, adjust the firewall settings to allow FTP traffic.
Log into the server used for file accounting (e.g. your CUBE server) with an account with administrative permissions. Then run the below listed commands to set up gw-accounting to file, change the cdr-format to “detailed”, configure the ftp server information, and tell the system to flush new data to file once per minute. Finally, we make sure this configuration gets saved.
enable
configure terminal
gw-accounting file
cdr-format detailed
primary ftp <em>10.0.0.100</em>/cube_ username <em>cdr_user </em>password <em>cdr_user_passwd</em>
maximum cdrflush-timer 1
end
copy running-config startup-config
Step 5 is the one to pay attention to! In step 5 be sure to change the information for your server IP, username and password. Also notice that in step 5 the cube_in 10.0.0.100/cube_ is the file prefix. The FTP software will put the file into the right place in the directory structure, the cube_piece here tells it to prepend the word “cube_” to the front of the filename it creates. This is later how we’ll tell the UF to pick up that data specifically.
To confirm, from that same SSH session to your CUBE server run the command file-acct flush with-close
. You should see a new file nearly immediately appear in your FTP folder. This file might be nearly empty with only a timestamp in it if there were no phone calls in the short period involved, but in any case it should be there.
The UF needs only a few tiny pieces of configuration. There should already be a working configuration for indexing the Cisco CDR data via the TA_cisco_cdr app and its inputs.conf file. We will now edit that to get our new data files to be sent in as well
[batch://<b>/path/to/files/cube_</b>*] index = <b>cisco_cdr</b> sourcetype = cube_cdr move_policy = sinkhole
Now that you have this data in, for all CallManager calls where we recognize the matching CUBE record(s), the fields from those CUBE events will be available in the field picker popup, in “Browse Calls”. To talk about desired functionality in other parts of the app (notably General Report), and about your needs in general give us call. We can help in the short term even if it’s a bit manual for now, and we’ll be very interested to hear all the messy details to help guide our next few releases as we flesh this out. It’ll be fun!
Great software ultimately has to empower you to achieve more in less time. This extends to the company behind it -- we have to remember to always use your time as efficiently as we can.
And here I am happy to say that we shortened our Product Overview video dramatically. The new one is only 4 minutes long, vs 11 for the old one. You can see it here:
NOTE: the old one showed more of the product and was definitely more complete. In fact this was deliberate because we used it both for new users and also to be a deeper onboarding video for everyday users. However it was a bit too long for anyone who just wanted the short version and didnt want to spend 11 minutes of their day.