cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6140
Views
0
Helpful
13
Replies

call accounting uc520

ELIE IBRAHIM
Level 1
Level 1

Hi

i have call accounting enabled on uc520 configured to file accounting, the file created on ftp has a size of 0k, the one on flash is good

my config is

gw-accounting file
  primary ftp 10.22.64.201/uc500 username cdr password cdr1234
  secondary ifs flash:uflash
  acct-template callhistory-detail
  maximum buffer-size  40
  maximum retry-count 5
  maximum fileclose-timer 300
  maximum cdrflush-timer 245
  cdr-format compact

after running

debug voip fileacct
debug voip dump-file-acct

i noticed the following messages after each call

WARNING: gw-accounting fact not enabled. return.

and in the debug output as if the data is being deleted after being written as such

104351: Jan 18 13:14:35.763: : add attr:8A8252A4 callID(1) 4 9733(2605)
104352: Jan 18 13:14:35.763: : add attr:8A8252B0 cdr type(2) 4 1(1)
104353: Jan 18 13:14:35.763: : add attr:8A8252BC leg type(3) 4 1(1)
104354: Jan 18 13:14:35.763: : add attr:8A8252C8 h323-conf-id(4) 34 54435C35 35911DF 9B23E064 FD9F46B0

104374: Jan 18 13:14:35.767: voice_file_acct_write:
104375: Jan 18 13:14:35.767: file_acct_write_local: message (len=450) written to file_acct:
16772 bytes leftfreeing list 877B525C0x8A825290

104376: Jan 18 13:14:35.767: : del attr8A8252A4 callID(1) 4 9733(2605)
104377: Jan 18 13:14:35.767: : del attr8A8252B0 cdr type(2) 4 1(1)
104378: Jan 18 13:14:35.767: : del attr8A8252BC leg type(3) 4 1(1)
104379: Jan 18 13:14:35.767: : del attr8A8252C8 h323-conf-id(4) 34 54435C35 35911DF 9B23E064 FD9F46B0

ios info

Cisco IOS Software, UC500 Software (UC500-ADVIPSERVICESK9-M), Version 15.0(1)XA, RELEASE SOFTWARE (fc2)

System image file is "flash:uc500-advipservicesk9-mz.150-1.XA"

13 Replies 13

totalogistix
Level 1
Level 1

I have the exact same issue on a 12.4.24 (T) ISR 2811 router. A cisco TAC recommended changing the IOS version. I sincerely doubt if that will make a difference. Were you able to fix this?    

Having exactly the same issue with our ISR2811 12.4(24) T.  Zero byte log files being pushed to the FTP server.  Anyone run across a fix yet?

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

Fixed-In

15.1(0.21)T
12.2(32.8.11)SX332
12.2(32.8.11)YST273.11
12.4(24)YE
15.1(24.6.26)PIL13
15.0(1)M1.7
15.1(0.2.12)PIB13
12.4(25b)M0.18
12.4(24)T3
15.1(1)XB1
15.1(0.0.10)PIL14

Yeah, found it right after I posted that...  thanks for the prompt response.

You are welcome.

Please help CSC donating to Haiti by rating usefls posts clicking on the stars below.

Hi All,

I have a similar little problem ..

In my case, the UC500 write CDR's to my FTP server, it works great... the problem is that the files don't have title or description for fields.. it show only data from calls.

My configuration is this:

gw-accounting file

primary ftp 192.168.10.25/testcdr username cisco password cisco

acct-template callhistory-detail

maximum buffer-size  25

maximum retry-count 3

maximum fileclose-timer 65

maximum cdrflush-timer 5

cdr-format compact

Machine: Cisco UC520-8U-4FXO-K9

IOS Version: Cisco IOS Software, UC500 Software (UC500-ADVIPSERVICESK9-M), Version 15.1(2)T2, RELEASE SOFTWARE (fc1)

uc500-advipservicesk9-mz.151-2.T2

When I put the debug commands:

1.    enable

2.    debug voip fileacct

3.    debug voip dump-file-acct

It shows this message "gw-accounting fact not enabled".. I don't know if this is the problem...

Any help will be appreciate.

Thanks..

Try

cdr-format detailed

Hi Paolo,

I try with cdr-format detailed but the result is the same... no description on fields..no tittle..

When I run the commands

1.    enable

2.    debug voip fileacct

3.    debug voip dump-file-acct

I can see the description for each field (tittle) but in .csv not show this..

So, any help about this will be appreciate.

Thanks.

In the 15.2-2T, You always have to use the command file-acct reset

Try to use a script

The problem appears also in the 152-2.T in CME9.0.

Sometimes the IOS can send and sometimes it can't send.

regards

Antra

Hi elie,

I check your recommended document... and my configuration is the same.. step by step..

But only in one thing from the example show  i can't place in my conf, because the command is'n accepted for my uc500

the line is this:

vlan internal allocation policy ascending

gw-accounting aaa

method firs

Is this mandatory ?

Thanks for your help..

Hi Christian

it is working for me without the commands you mentioned,

the headers are not showing also, the output is coma separated and the fields are defined in the link i provided