Home VoIP CUCME How to setup Call Detail Records(CDR) from CUCME and Tips

There are three ways to configure CDRs receiving from Cisco Unified Call Manager Express.
 

- Syslog Server
- RADIUS Server
- FTP Server

1. Syslog Server

1.-1. Pros

- Low Cost
- Quick Install
- Easy to configure
- Easy to interpriet (CSV format)
 

1-2. Cons

- Hard to read and parsing software needed.
- No CDR backup
- Syslog works over UDP(514)
 

1-3. Configuration

CUCME_Router(config)# Service timestamps log datetime msec localtime
CUCME_Router(config)# aaa new-model
CUCME_Router(config)# aaa authentication login default none / local
CUCME_Router(config)# aaa accounting connection h323 start-stop radius
CUCME_Router(config)# gw-accounting syslog
CUCME_Router(config)# logging host x.x.x.x ; syslog server IP

 

 1-4. Reference : Cisco CDR Logging Configuration with Syslog Servers

2. RADIUS Server

2.-1. Pros

- More details accounting
- Real-time application support
- Customized setting and records
- Vendor Specific Attributes(VSA)
- Multiple Server support
- Captures can be stored in flash
 

2-2. Cons

- Complext setup
- RADIUS system required

 

2-3. Configuration

CUCME_Router(config)# Service timestamps log datetime msec localtime
CUCME_Router(config)# aaa new-model
CUCME_Router(config)# aaa accounting connection h323 start-stop broadcast group radius
CUCME_Router(config)# aaa session-id common
CUCME_Router(config)# radius-server host x.x.x.x
CUCME_Router(config)# radius-server vsa send accounting
CUCME_Router(config)# radius-server vsa send authentication
 

 2-4. Reference : Cisco Configuring RADIUS Accounting

3. FTP Server

3.-1. Pros

- Low cost
- Quick and easy setup
- Easy to interpriet (CSV format)
- Reliable transport(LAn/WAN)
- CDR can be stored at flash
 

3-2. Cons

- No Real-time application support
- CPU intensive
- FTP Server system required

 

3-3. Configuration

CUCME_Router(config)# Service timestamps log datetime msec localtime
CUCME_Router(config)# gw-accounting aaa
CUCME_Router(config)# gw-accounting file
CUCME_Router(config)# primary ftp x.x.x.x username [username] password [password]
CUCME_Router(config)# maximum buffer-size 15
CUCME_Router(config)# maximum retry-count 3
CUCME_Router(config)# maximum fileclose 3
CUCME_Router(config)# maxmum cdrflush-timer 245

 or

aaa authentication login h323 group radius
aaa authorization config-commands
aaa authorization exec default if-authenticated
aaa authorization exec h323 group radius
aaa authorization network default group radius
aaa authorization configuration default group radius
aaa accounting connection h323 start-stop group radius
aaa accounting system default start-stop group radius
aaa accounting resource default start-stop group radius
!
gw-accounting aaa
acct-template sample
!
gw-accounting syslog
!
radius-server host 172.16.1.10 auth-port 1612 acct-port 1616
radius-server host 172.16.1.10 auth-port 1645 acct-port 1646
radius-server key cisco
radius-server vsa send accounting
radius-server vsa send authentication
!
call accounting-template voice sample tftp://172.16.1.10/sample.cdr
call accounting-template voice relaod sample.cdr

 

  CUCME_Router# sh call accounting-template voice

 

3-4. Reference :

Cisco Configuring File Accounting
Forum for Cisco CDR
 

 

3-5. Troubleshooting

- When file is stopped to send.
 

Solution 1> Reconfigure 'gw-accounting file'

CUCME_Router(config)# no gw-accounting file
CUCME_Router(config)# gw-accounting file

 

Solution 2> force the sending of the CDR using the command:

CUCME_Router#file-acct flush with-close

 

 

 

 

 

Last Updated (Tuesday, 23 February 2016 14:10)

 
Statistics
Content View Hits : 1473464
Search
Related Items
Polls
Highly recommended firewall vendor?
 
Google Translation
English Arabic Chinese (Simplified) Czech Dutch French German Italian Korean Portuguese Russian Spanish Filipino Vietnamese Thai Turkish
BGP routing issue?
Banner
World Route Servers
Banner
Who's Online
We have 37 guests online
network monitoring tool