Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

How to send CDR data to an FTP Server?

Hello All,

I have been working on to send CDR data from Cisco Call Manager Express (CME) to an FTP Server but it doesn't send it. I can manually copy the files to the same FTP server via the same username/password. You can find below some configuration details:

!

gw-accounting file

primary ftp 192.168.101.10:21 username ipera password 7 1100090005135A5E577E

acct-template callhistory-detail

maximum buffer-size  40

maximum retry-count 3

maximum fileclose-timer 300

maximum cdrflush-timer 240

!

When I enabled ip ftp debugging I get the following results:

Router1#file-acct reset

Router1#file-acct flush with-close

Flushing the CDR data to file and closing file

Router1#

018627: Mar 21 16:13:56.617: FTP: 220-FileZilla Server version 0.9.39 beta

018628: Mar 21 16:13:56.617: FTP: 220-written by Tim Kosse (Tim.Kosse@gmx.de)

018629: Mar 21 16:13:56.617: FTP: 220 Please visit http://sourceforge.net/projects/filezilla/

018630: Mar 21 16:13:56.617: FTP: ---> USER ipera

018631: Mar 21 16:13:57.125: FTP: 331 Password required for ipera

018632: Mar 21 16:13:57.125: FTP: ---> ****

018633: Mar 21 16:13:57.625: FTP: 230 Logged on

018634: Mar 21 16:13:57.625: FTP: ---> TYPE I

018635: Mar 21 16:13:58.137: FTP: 200 Type set to I

018636: Mar 21 16:13:58.137: FTP: ---> PASV

018637: Mar 21 16:13:58.653: FTP: 227 Entering Passive Mode (192,168,101,10,221,58)

018638: Mar 21 16:13:58.653: FTP: ---> APPE

018639: Mar 21 16:13:59.169: FTP: 501 Syntax error

018640: Mar 21 16:13:59.169: FTP: ---> QUIT

018641: Mar 21 16:13:59.681: FTP: 221 Goodbye

018642: Mar 21 16:13:59.681: %VOICE_FILE_ACCT-3-DUMPFAIL: Could not dump to remote file - open ftp://ipera:ipera1234@192.168.101.10:21.Router1.03_21_2012_16_13_56.613. Error=13(Permission denied)

I also tested to send to another FTP server and I get exactly same results.

The user "ipera" has all the privileges.

My opinion is that CME tries to append the CDR data to an existing file. It looks for a file which has same name as CME created. However, there is no file which is named as CME created because CME created the file with different names everytime. File name includes the date and time information; such as "cdr.Router1.03_16_2012_06_55_53.012"

If it cannot successfully send the CDR file to the FTP server, it creats the file under flash as default. However, the name of the file is also different with the one that it was trying to send.

I am really confused. Can someone please make any comment on whether or not this is a bug? If not, how can I send teh CDR data to the FTP server automatically?

Thanks in advance!

Everyone's tags (3)
2115
Views
0
Helpful
0
Replies
CreatePlease login to create content