Cisco Voice Gateway CallAccounting

Cisco Voice Gateways Call Accounting

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

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