Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

UC SEVT Fall 2008-CME-CSV-CDR

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 5

Pu CME 7.

1 – CME CSV CDR Lab

UC SEVT Fall 2008

Mili Daftary
mdaftary@cisco.com

Introduction:

The gateway accounting currently supports AAA/Radius and Syslog mechanisms of


logging CDR information. CME 4.2.1 extended existing AAA/Radius and Syslog
accounting to include the supplementary services accounting information.
CME 4.3 / 7.0 implemented a new file mechanism to “FTP/Flash” as a third option to
support the CDR accounting from Gateway using the new “file” CLI.
Hence with CME 4.3 / 7.0 and above we will be able to perform the following:
1) Store CDRs in CSV file format. This will be a third option in addition to Radius and
Syslog formats. This can be configured using a CLI.
2) These CDR records can be stored on external/internal flash or on a file on FTP
server. Again, this can be configured using a CLI.

Lab Objective:

In this lab, you are going to:

1. Configure to generate CDRs in file format (.csv) and save it in flash:


2. Use a CDR parser script to view the data in a more readable format

page 1
Highlights:

 CME 7.1 is required

Lab setup overview:

Device IP addresses
CME-1 10.100.100.10
CUE-1 10.100.100.11
CME-2 10.100.100.20

Dialplan: CME-1 numbers


AutoAttendant (AA) 110
VoiceMail (VM) 100
Phone 1 101
Phone 2 102
Phone 3 103
External Number – 1 444
CME-2 numbers
Phone 1 201
Phone 2 202
Phone 3 203

page 2
CME-1:

1. Telnet into CME-1 ( 10.100.100.10)


2. Configure the following on CME-1

Config t
gw-accounting file >>>> enables the file method of accounting
primary ifs flash:cdrtest >>>> Name and location of file in flash:
maximum retry-count 3 >>>> Max # of times the router tries to connect to primary
maximum fileclose-timer 100 >>>> Max time for writing records to a file before closing it
maximum cdrflush-timer 70 >>> > Max time to hold call records in the buffer
cdr-format detailed >>>> Selects the format of the CDR

3. After configuring the above on CME-1 make a call from extension 101 (phone 1) to
extension 102 (phone 2) and pick up the call on phone 2 and let the call be active for few
seconds and then hang up the call. Make another call from extension 102 (phone 2) to
extension 103 (phone 3) and pick up the call on phone 3 and let the call be active for few
seconds before hanging up.

4. To Manually flush the accounting records to a file and close the file , configure the below
cli

File flush with-close

5. Then do “show flash:” and you will see a file named cdrtest (followed by a complete
name) in there.

6. Download “Solar-Winds” TFTP-Server from the Wiki page if you do not already have one
downloaded on your PC.

http://zed.cisco.com/confluence/display/VOICE/SEVT-2008-Fall

7. Do “ Copy flash: tftp “ on CME and copy the file over to your PC

8. Since the CDR format is detailed and not easily readable we will use the CDR Reader /
parser script which presents the CDR records in a more readable format.

9. Download the CDR script from the Wiki and open it using Internet explorer (IE).
After the opening the script in IE, just point it to the CDR directory saved on your PC
which has the cdrtest file and submit it and it will present you the parsed data.

http://zed.cisco.com/confluence/display/VOICE/SEVT-2008-Fall

page 3
page 4
page 5

You might also like