cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
912
Views
5
Helpful
2
Replies

Getting Gateway CDR Per Call Basis

Is there any way to obtain the CDR file per call besides manually writing the file to the ftp server via the command file-acct flush without-close?
We are trying to get the content of the file and flush it as quickly as possible but it appears to be limited to the 60-minute fileclose-timer. 
 
Currently we use the following command.
 
Router(config-gw-accounting-file)# maximum fileclose-timer 60
Router(config-gw-accounting-file)# maximum cdrflush-timer 
 
Any alternate approach either to reduce this fileclose-timer less than 60 or CDR file per call basis would be appriciated.
 
Also any idea about how cisco uses gateway CDRs for billing?
 
Thanks,
Pandian
2 Replies 2

Terry Cheema
VIP Alumni
VIP Alumni

It looks like 60 minutes is the minimum you can set.

Ref: http://www.cisco.com/c/en/us/td/docs/ios/voice/cdr/developer/guide/cdrdev/cdrcsv.html#pgfId-1072487

maximum fileclose-timer minutes

 

Router(config-gw-accounting-file)# maximum fileclose-timer 300

(Optional) Sets the maximum time for writing records to an accounting file before closing it and creating a new file.

  • minutes —Maximum time, in minutes, to write records to an accounting file. Range: 60 to 1,440. Default: 1,440 (24 hours).
  • Set this file close timer to at least five minutes longer than the flush timer set with the maximum cdrflush-timer command.

maximum cdrflush-timer minutes

 

Router(config-gw-accounting-file)# maximum cdrflush-timer 245

(Optional) Sets the maximum time to hold call records in the buffer before appending the records to the accounting file.

  • minutes —Maximum time, in minutes, to hold call records in the accounting buffer. Range: 1 to 1,435. Default: 60 (1 hour).
  • Set this flush timer to at least five minutes less than the file close timer set with the maximum fileclose-timer command.

 

Refer to this doc for CDR for Voice gateways: http://www.cisco.com/c/en/us/td/docs/ios/voice/cdr/developer/guide/cdrdev/cdrover.html

-Terry

Please rate all helpful posts

Yes Terry, I have gone through the documents. We want to read the CDR more frequently than one hour.

Just I am wondering, how Cisco uses gateway CDRs for billing?

 

Thanks,

Pandian