Are you ready to start monitoring and analysis your phone systems?

Try PBXDOM for 14 days free
no credit card required.


Try free for 14 days 

Follow us

Follow us and get the latest news through your favorite Social Network

Cisco Voice Gateways Call Accounting

June 5th, 2016

Cisco Voice Gateway CallAccounting

Cisco Voice Gateways Call Accounting


You will need to configure your Cisco Voice gateway to send the CDR data to PBXDom collector.

Prerequisites

  • Cisco IOS Release 12.4(20)T or a later release


StepCommand or ActionPurpose
Step 1enable
Step 2configure terminal
Step 3gw-accounting file
Step 4primary { ftp path/filename username username password password | ifs device : filename }Optional) Sets the primary location for storing the CDRs generated for file accounting.
ftp path/filename —Name and location of the file on an FTP server.
ifs device : filename —Name and location of the file in flash memory or other internal file system on this router. Values depend on the storage devices available on the router, for example flash or slot0.
username username —User ID for authentication.
password password —Password user enters for authentication.
Default: flash:cdr .
Step 5secondary { ftp path/filename username username password password | ifs device : filename } (Optional) Sets the backup location for storing CDRs if the primary location becomes unavailable.
ftp path/filename —Name and location of the backup file on an FTP server.
ifs device : filename —Name and location of the backup file in flash memory or other internal file system on this router. Values depend on the storage devices available on the router, for example flash or slot0.
username username —User ID for authentication.
password password —Password user enters for authentication.
Default: flash:cdr .
Step 6maximum retry-count number(Optional) Sets the maximum number of times the router attempts to connect to the primary file device before switching to the secondary device.
number —Number of connection attempts. Range:1 to 5. Default: 2.
Step 7maximum buffer-size kbytes(Optional) Sets the maximum size of the file accounting buffer.
kbytes —Maximum buffer size, in kilobytes. Range: 6 to 40. Default: 20.
Step 8maximum fileclose-timer minutesOptional) Sets the maximum time for writing records to an accounting file before closing it and creating a new file.
minutes —Maximum time, in minutes, to write records to an accounting file. Range: 60 to 1,440. Default: 1,440 (24 hours).
Set this file close timer to at least five minutes longer than the flush timer set with the maximum cdrflush-timer command.
Step 9maximum cdrflush-timer minutes(Optional) Sets the maximum time to hold call records in the buffer before appending the records to the accounting file.
minutes —Maximum time, in minutes, to hold call records in the accounting buffer. Range: 1 to 1,435. Default: 60 (1 hour).
Set this flush timer to at least five minutes less than the file close timer set with the maximum fileclose-timer command.
Step 10cdr-format { compact | detailed }(Optional) Selects the format of the CDRs generated for file accounting.
compact —Compact set of voice attributes is generated in CDRs.
detailed —Full set of voice attributes is generated in CDRs. Default value.
Step 11acct-template { template-name | callhistory-detail }(Optional) Selects the voice attributes to collect.
template-name —Name of custom accounting template that defines the attribute values to collect.
callhistory-detail —Collects all voice VSAs for accounting.
Step 12end
Reza Mousavi

Reza Mousavi

Serial Entrepreneur, Founder & CEO at PBXDom, Software Architect, Frequent reader, Fan of adventure travel
Reza Mousavi

Related Posts


Cisco IOS Voice Call Accounting Cisco VG Call Accounting Cisco Voice Accounting Cisco Voice Gateway Call Accounting Cisco Voice Gateway CDR Report
Read more:
Inside Call Summary widget , PBXDOM call logging software

One of the most popular and useful widgets in PBXDOM is that of call summaries. This widget shows you an...

Close