Why I can not get accounting file from gw by ftp?

Unanswered Question
Sep 9th, 2009

Below is warnng

#WARNING: gw-accounting fact not enabled. return.WARNING: gw-accounting fact not enabled. return.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
benzhao98 Wed, 09/09/2009 - 06:15

Below is my configurations

gw-accounting file

primary ftp username ben98 password 123456

maximum buffer-size 40

maximum fileclose-timer 60

maximum cdrflush-timer 45

cdr-format compact

totalogistix Tue, 03/30/2010 - 13:09

I have the exact same issue on ISR2811 with 12.4.24 (T). were you able to figure out what the problem was?    

Paolo Bevilacqua Tue, 03/30/2010 - 14:27

CSCtb72550 Bug Details

Call Detail Record File not created in FTP  Server

Symptoms: Call Detail Record (CDR) files  pushed via FTP are  not created on the FTP server.

Conditions:  This  symptom is observed when the gw-accounting file command is  configured to point to an FTP server.

Workaround:    Push the CDR records locally to the flash instead of to an FTP URL

totalogistix Tue, 03/30/2010 - 19:11

is there a way to periodically move the file from flash to fTP?    

Paolo Bevilacqua Wed, 03/31/2010 - 02:49

In that sense, Expect scripting predates EEM by 20 years, and work great.

But fortunately, not even Cisco dares to suggest that as workaround.

totalogistix Wed, 03/31/2010 - 06:59

wow ok. so the best option is to upgrade. do you know if this has been fixed in 12.4.22YB4? thanks a lot for all your help guys.

rob.huffman Wed, 03/31/2010 - 11:04

Hi Kris,

Just an FYI 12.4.22YB4 is in the "known affected version list" as shown in the link below


Here are the "fixed-in" versions




Please support CSC Helps Haiti



Edson Vuma Mon, 10/15/2012 - 05:29

Hi, everyone.

I have the same problem.

My IOS version is Version 15.1(4)M4

And I cant send the CDR files  to the FTP Server.

Here is are my commands:

gw-accounting file

primary ftp :[]/BibCme1/cdrtest1 username password

secondary ifs flash:cdrtest2

acct-template callhistory-detail

maximum buffer-size  25

maximum retry-count 5

maximum fileclose-timer 500

maximum cdrflush-timer 445

cdr-format compact


is the address of my FTP Server;

/BibCme1 is the FTP (See the image)

cdrtest1 is the filename.

Putting the CDR on flash memory works, but I cant get it to work on the FTP Server that I need to configure the billing software (BillyBlues - Stonevoice Application Suite 2012).

Any help??

Or is there a way that I can copy the CDR from flash to FTP Server???

I have added the following command to force CME to send CDRs to BillyBlues too:

file-acct flush with-close

But I still cant do it.

Any help?


Edson Vuma

Vikas Gupta Sun, 07/03/2011 - 05:33

Please try this:

R(config)#gw-accounting file

primary ftp BillyBlues_IP/billyblues/ username usr password pwd

maximum buffer-size 6

maximum retry-count 4

maximum fileclose-timer 300


• BillyBlues_IP is the IP address of the BillyBlues machine

• usr/pwd is the username/password of the local Administrator on the BillyBlues machine.

The following command to force CUCME to send CDRs to BillyBlues:

R# file-acct flush with-close

R# file-acct reset


This Discussion