cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1709
Views
0
Helpful
10
Replies

CDR files not pushing to ftp

Hi Guys,

We are using Cisco 2921 router with universal image and uck9 license. We have configured the device to push the cdr files to the ftp server.

gw-accounting file

primary ftp ipaddress/dev/can/cdr username xxxxx password 7 xxxxx

I can see the cdr files on the device flash. But not on the ftp server.

router#sh flash | i cdr

37        9440 Jul 26 2012 09:56:00 +08:00 cdr.can-rtr-1.07_26_2012_09_56_00.702

74      258202 Apr 4 2013 12:34:04 +08:00 cdr.router.04_04_2013_11_04_03.754

75      734400 Apr 5 2013 12:34:04 +08:00 cdr.router.04_04_2013_13_01_15.429

76     1167124 Apr 6 2013 12:34:04 +08:00 cdr.router.04_05_2013_12_55_58.952

77      128766 Apr 7 2013 12:34:04 +08:00 cdr.router.04_06_2013_13_25_06.846

78      881012 Apr 8 2013 12:34:04 +08:00 cdr.router.04_07_2013_13_34_05.041

79     1474428 Apr 9 2013 12:34:04 +08:00 cdr.router.04_08_2013_12_48_17.370

181    1367854 Apr 10 2013 12:34:04 +08:00 cdr.router.04_09_2013_12_40_52.828

182      81086 Apr 10 2013 12:57:42 +08:00 cdr.router.04_10_2013_12_41_50.908

It works if i manaully copy from the router to the ftp user.

Any assistance. Much appreciated.

Thanks

Nachi

10 Replies 10

Aman Soi
VIP Alumni
VIP Alumni

Hi Nachi,

Was this working setup or fresh installation?

Can u share the ouput of following commands:

a. show version

b. show running -config

regds,

aman

Hi Aman

This is a working setup. It stopped working suddenly. We have not changed anything in the configuration.

Show version:

---------------------

Cisco IOS Software, C2900 Software (C2900-UNIVERSALK9-M), Version 15.2(3)T1, RELEASE SOFTWARE (fc1)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2012 by Cisco Systems, Inc.

Compiled Wed 13-Jun-12 14:24 by prod_rel_team

ROM: System Bootstrap, Version 15.0(1r)M12, RELEASE SOFTWARE (fc1)

router uptime is 2 weeks, 1 hour, 46 minutes

System returned to ROM by reload

System restarted at 13:48:48 AWST Wed Apr 10 2013

System image file is "flash0:c2900-universalk9-mz.SPA.152-3.T1.bin"

Last reload type: Normal Reload

Last reload reason: Reload Command

This product contains cryptographic features and is subject to United

States and local country laws governing import, export, transfer and

use. Delivery of Cisco cryptographic products does not imply

third-party authority to import, export, distribute or use encryption.

Importers, exporters, distributors and users are responsible for

compliance with U.S. and local country laws. By using this product you

agree to comply with applicable laws and regulations. If you are unable

to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:

http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to

export@cisco.com.

Cisco CISCO2921/K9 (revision 1.0) with 2576320K/45056K bytes of memory.

Processor board ID xxxxxxxxx

4 Gigabit Ethernet interfaces

11 Serial interfaces

4 terminal lines

1 Channelized E1/PRI port

1 Virtual Private Network (VPN) Module

8 Voice FXS interfaces

2 Cellular interfaces

1 Services Module (SM) with Services Ready Engine (SRE)

   Cisco Unity Express 8.6.1 in slot/sub-slot 1/0

DRAM configuration is 64 bits wide with parity enabled.

255K bytes of non-volatile configuration memory.

1000944K bytes of ATA System CompactFlash 0 (Read/Write)

License Info:

License UDI:

-------------------------------------------------

Device#   PID                   SN

-------------------------------------------------

*0        CISCO2921/K9         xxxxxx

Technology Package License Information for Module:'c2900'

-----------------------------------------------------------------

Technology    Technology-package           Technology-package

              Current       Type           Next reboot 

------------------------------------------------------------------

ipbase        ipbasek9      Permanent      ipbasek9

security      securityk9    Permanent      securityk9

uc            uck9          Permanent      uck9

data          None          None           None

Configuration register is 0x2102

Hi Nachi,

Is ftp service working on server?

Which third party server is deployed? After u deploy the application on PC/Server used for recieving CDR, there would be application related service.Is that working?

regds,

aman

Hi Aman,

FTP server is working. I can push the files to the ftp server using copy command from the router.

Since the server is not under our control, I am not sure about the third party server platform and the application running on the server. What sort of application are you referring to ? I can try to find it out.

Thanks

Nachi

Hi Nachi,

What I understand is that u are transferring the CDR raw data from router to FTP server where u are running the third party software for customizing the reports ?

I am referring to that 3rd party s/w?

If it is not so, then, how u are analysing the CDR files.

regds,

aman

Hi Aman,

Thank you for your response.

I will find out how the CDR files are anlaysed. But my problem is the cdr files on the router flash is not automatically getting transferred to the ftp server.  Is that somehow related to the third party software related to customizing the report. Is the third party software initiating the transfer.

Thanks

Nachi

Hi NAchi,

As u have said that u are able to manual copy the files from router flash to that server but ftp is not working.

There has to be some handshake between router and server to fetch the files.On which OS platform , application is installed.

Just cross-check and let me know.

Customizing the report is a secondary part since first we need to push the files from  Router flash.

In the meantime,you can also run debug ip ftp on router to troubleshoot further.

regds,

aman

Hi Aman,

The server is running standard FTP client. No other third party software. The router initiates handshake process to the ftp client. Then it tries to copy cdr file to the ftp, since it fails it write the cdr files to the flash.

Then, I am manually able to copy from the flash to the ftp.

Thanks

Nachi

Hi Nachi.

Please activate the following debug.

debug voip fileacct

debug voip dump-file-acct

Give the command: file-acct flush without-close

And post the output.

THX

Regards

Carlo

Please rate all helpful posts

"The more you help the more you learn"

Please rate all helpful posts "The more you help the more you learn"

Hi Nachi,

Can u initiate the debug as suggested by Mr. Carlo and debug ip ftp so that we can troubleshoot further?

regds,

aman