Concept illustration of a voice gateway and call records
Concept illustration · Not an exact hardware depiction.

Before configuring file accounting

This historical reference explains IOS gateway call-detail accounting. Standalone gateways are not currently accepted for new PBXDom connections. This reference lists Cisco IOS 12.4(20)T or later as its prerequisite; confirm the exact gateway, software version, and collector requirements with your administrator.

Commands below are syntax references, not a ready-to-paste configuration. Replace parameter names with your own values. Braces group alternatives; the vertical bar separates choices.

Command reference

StepCommandPurpose
1enableEnter privileged EXEC mode.
2configure terminalEnter global configuration mode.
3gw-accounting fileOpen file-accounting configuration.
4primary { ftp path/filename username username password password | ifs device : filename }Optional primary CDR destination: an FTP file with credentials, or a file on an available internal device such as flash or slot0. Default: flash:cdr.
5secondary { ftp path/filename username username password password | ifs device : filename }Optional backup destination when the primary is unavailable. Use an FTP file with credentials, or an available internal device and filename. Default: flash:cdr.
6maximum retry-count numberConnection attempts before switching to the secondary destination. Range: 1–5. Default: 2.
7maximum buffer-size kbytesMaximum accounting buffer size. Range: 6–40 KB. Default: 20 KB.
8maximum fileclose-timer minutesTime before closing the current file and creating another. Range: 60–1,440 minutes; default: 1,440. Must be at least five minutes longer than the flush timer.
9maximum cdrflush-timer minutesTime to hold records in the buffer before appending them to the file. Range: 1–1,435 minutes; default: 60. Must be at least five minutes shorter than the file-close timer.
10cdr-format { compact | detailed }Select a compact or full set of voice attributes. Default: detailed.
11acct-template { template-name | callhistory-detail }Select a named custom template, or callhistory-detail for all voice accounting attributes.
12endExit configuration mode.

The retry, buffer, timer, format, and template settings are optional. Review them with your administrator and confirm collector setup requirements before applying changes.