cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1254
Views
0
Helpful
2
Replies

CME CDR Customize Accounting Template issue

hi all ,

i have already configured CDR file accounting on my GW Cisco 2811 using FTP server , i can get the file record but i uploaded a template to customize the output attributes , but it's not working.

Notes:

1. Cisco 2811 , with IOS c2800nm-ipvoice_ivs-mz.151-2.T1_2.bin

2. Router configuration :

#gw-accounting file

#acct-template cdr

#primary ftp 192.168.1.24/CDR username cisco password cisco

#maximum buffer-size  40

#maximum retry-count 3

#maximum cdrflush-timer 1

#cdr-format compact

3.

CDR template cdr is running

    url: tftp://192.168.1.4/cdr.cdr

    The last load was successful.

          peer-address

          peer-id

          peer-if-index

Totally 3 attrs defined.

4. the output before apply Template is

1392811331,565,0,1,"390FFC8C 989411E3 86FEDD53 7C448616","104","","12:00:13.123 UTC Wed Feb 19 2014","","12:00:19.033 UTC Wed Feb 19 2014","12:02:11.103 UTC Wed Feb 19 2014","10  ","normal call clearing (16)","answer",0,"",0,0,5599,895840,"104","104","","TWC","02/19/2014 12:00:13.121","104","",0,604,390FFC8C 989411E3 86FEDD53 7C448616,235,"","","",""

1392811331,566,0,1,"390FFC8C 989411E3 86FEDD53 7C448616","922823851","","12:00:16.061 UTC Wed Feb 19 2014","","12:00:19.021 UTC Wed Feb 19 2014","12:02:11.131 UTC Wed Feb 19 2014","10  ","normal call clearing (16)","originate",0,"",5599,940632,5603,896480,"104","104","922823851","TWC","02/19/2014 12:00:16.057","104","922823851",0,605,390FFC8C 989411E3 86FEDD53 7C448616,236,"","","",""

5. the output after applying Template is the same no change after applying template

why there is no change after applying template ????

2 Replies 2

MUDIT MATHUR
Cisco Employee
Cisco Employee

Hi Hassan,

Detailed records have 123 entries , compact has 22 entries, while filterable are 97 which

you can specify in the custom file.

Other entries are compulsory and would still be present.

So the logic is :

If detailed is selected and custom template is being used , out of 123 you have option to

filter 97 entries.

If compact is being used you have an option to remove the ones present in the list of 97

from the 22 entries present in compact mode.

List of attributes:

These are 97 filterable attributes :

router#sh call accounting-template voice master

       account-code

       acom-level

       backward-call-indicators

       call-id

       calling-party-category

       charge-number

       charged-units

       codec-bytes

       disconnect-text

       early-packets

       faxrelay-start-time

       faxrelay-stop-time

       faxrelay-max-jit-buf-depth

       faxrelay-jit-buf-ovflow

       faxrelay-mr-hs-mod

       faxrelay-init-hs-mod

       faxrelay-num-pages

       faxrelay-direction

       faxrelay-ecm-status

       faxrelay-encap-prot

       faxrelay-nsf-country-code

       faxrelay-nsf-manuf-code

       faxrelay-fax-success

       faxrelay-tx-packets

       faxrelay-rx-packets

       faxrelay-pkt-conceal

       gw-final-xlated-cdn

       gw-final-xlated-cgn

       gapfill-with-interpolation

       gapfill-with-prediction

       gapfill-with-redundancy

       gapfill-with-silence

       gk-xlated-cdn

       gk-xlated-cgn

       gw-rxd-cdn

       gw-rxd-cgn

       gw-collected-cdn

       h323-call-origin

       h323-call-type

       h323-connect-time

       h323-disconnect-cause

       h323-disconnect-time

       h323-gw-id

       h323-remote-address

       h323-setup-time

       h323-voice-quality

       hiwater-playout-delay

       info-type

       incoming-area

       in-carrier-id

       in-intrfc-desc

       in-trunkgroup-label

       internal-error-code

       isup-carrier-id

       late-packets

       logical-if-index

       lost-packets

       lowater-playout-delay

       max-bit-rate

       noise-level

       ontime-rv-playout

       originating-line-info

       outgoing-area

       out-carrier-id

       out-intrfc-desc

       out-trunkgroup-label

       peer-address

       peer-id

       peer-if-index

       redirected-station

       receive-delay

       remote-udp-port

       remote-media-address

       remote-media-udp-port

       round-trip-delay

       service-descriptor

       session-protocol

       subscriber

       transmission-medium-req

       tx-duration

       vad-enable

       voice-tx-duration

       voice-feature

       feature-operation

       feature-op-time

       feature-op-status

       feature-id

       feature-vsa

       dsp-id

       release-source

       alert-timepoint

       ip-phone-info

       ip-pbx-mode

       in-lpcor-group

       out-lpcor-group

       fac-digits

       fac-status

    Totally 97 attributes are filterable.

So according to your configuration, you have used compact and you have defined 3 attributes.

So total attributes will be 25 that you will see in your excel sheet.

Thanks & Regards,

Mudit Mathur

Thanks & Regards, Mudit Mathur

Thanks for your interest

i understand now