Gateway Accounting Configurations

Use the "gw-accounting" command in global configuration mode to enable VOIP gateway accounting.

The following operations are allowed in the credentials configuration mode:

Operations X-path
get, get-config, edit-config /native/ios-voice:gw-accounting

Select Gateway Accounting Configuration Mode

To enter into the gw-accounting configuration mode, follow the x-path provided in the below table.

Object X-path
voice credentials /native/ios-voice:gw-accounting

Gateway Accounting Configurations and X-path Details

Object Description X-path Value Prerequisites Remarks
file To enable the file method of accounting. /native/ios-voice:gw-accounting/ios-voice:file N/A N/A N/A
file acct-template template-name Name of custom accounting template that defines the attribute values to collect. /native/ios-voice:gw-accounting/ios-voice:file/ios-voice:acct-template/ios-voice:template-name String N/A N/A
file acct-template callhistory-detail To send all voice attributes for accounting. /native/ios-voice:gw-accounting/ios-voice:file/ios-voice:acct-template/ios-voice:callhistory-detail N/A N/A N/A
file cdr-format To send all voice attributes for accounting. /native/ios-voice:gw-accounting/ios-voice:file/ios-voice:cdr-format compact, detailed N/A N/A
file maximum buffer-size To specify the account buffer size. /native/ios-voice:gw-accounting/ios-voice:file/ios-voice:maximum/ios-voice:buffer-size Integer (Min 6, Max 40) N/A Default value is 20.
file maximum cdrflush-timer To specify the cdr file timer of accounting file (in file mode) in minutes. /native/ios-voice:gw-accounting/ios-voice:file/ios-voice:maximum/ios-voice:cdrflush-timer Integer (Min 1, Max 1435) N/A Default value is 60.
file maximum fileclose-timer To specify the accounting file (in file mode) closing timer in minutes. /native/ios-voice:gw-accounting/ios-voice:file/ios-voice:maximum/ios-voice:fileclose-timer Integer (Min 60, Max 1440) N/A Default value is 1440.
file maximum filesize To specify the cdr file size. /native/ios-voice:gw-accounting/ios-voice:file/ios-voice:maximum/ios-voice:filesize Integer (Min 10, Max 10000) N/A N/A
file maximum retry-count To specify the maximum number of times the router attempts to connect to the primary file device before switching to the secondary device. /native/ios-voice:gw-accounting/ios-voice:file/ios-voice:maximum/ios-voice:retry-count Integer (Min 1, Max 5) N/A N/A
file primary ftp ftp-server To specify the name and location of the primary FTP server where the accounting file is stored. /native/ios-voice:gw-accounting/ios-voice:file/ios-voice:primary/ios-voice:ftp/ios-voice:ftp-server String N/A N/A
file primary ftp username To specify the username for authentication. /native/ios-voice:gw-accounting/ios-voice:file/ios-voice:primary/ios-voice:ftp/ios-voice:username String N/A N/A
file primary ftp password encryption To specify the password encryption type. /native/ios-voice:gw-accounting/ios-voice:file/ios-voice:primary/ios-voice:ftp/ios-voice:password/ios-voice:encryption 0, 6, or 7 N/A While configuring FTP, you must give valid encyption type (0, 6, or 7) before entering the password value. 0: Specifies an unencrypted password follows; 6: Specifies an encrypted password follows; 7: Specifies a hidden password follows.
file primary ftp password password-string To specify the password for authentication. /native/ios-voice:gw-accounting/ios-voice:file/ios-voice:primary/ios-voice:ftp/ios-voice:password/ios-voice:password-string String (MinLength 4, MaxLength 80) N/A N/A
file primary sftp sftp-server To specify the name and location of the primary SFTP server where the accounting file is stored. /native/ios-voice:gw-accounting/ios-voice:file/ios-voice:primary/ios-voice:sftp/ios-voice:sftp-server String N/A N/A
file primary sftp username To specify the username for authentication. /native/ios-voice:gw-accounting/ios-voice:file/ios-voice:primary/ios-voice:sftp/ios-voice:username String N/A N/A
file primary sftp password encryption To specify the password encryption type. /native/ios-voice:gw-accounting/ios-voice:file/ios-voice:primary/ios-voice:sftp/ios-voice:password/ios-voice:encryption 0, 6 N/A 0: Specifies an unencrypted password follows; 6: Specifies an encrypted password follows.
file primary sftp password password-string To specify the password for authentication. /native/ios-voice:gw-accounting/ios-voice:file/ios-voice:primary/ios-voice:sftp/ios-voice:password/ios-voice:password-string String (MinLength 4, MaxLength 80) N/A N/A
file primary ifs To specify the name and location of the backup file or other internal file system on the router. /native/ios-voice:gw-accounting/ios-voice:file/ios-voice:primary/ios-voice:ifs String N/A N/A
file secondary ftp ftp-server To specify the name and location of the secondary FTP server where the accounting file is stored. /native/ios-voice:gw-accounting/ios-voice:file/ios-voice:secondary/ios-voice:ftp/ios-voice:ftp-server String N/A N/A
file secondary ftp username To specify the username for authentication. /native/ios-voice:gw-accounting/ios-voice:file/ios-voice:secondary/ios-voice:ftp/ios-voice:username String N/A N/A
file secondary ftp password encryption To specify the password encryption type. /native/ios-voice:gw-accounting/ios-voice:file/ios-voice:secondary/ios-voice:ftp/ios-voice:password/ios-voice:encryption 0, 6, or 7 N/A While configuring FTP, you must give valid encyption type (0, 6, or 7) before entering the password value. 0: Specifies an unencrypted password follows; 6: Specifies an encrypted password follows; 7: Specifies a hidden password follows.
file secondary ftp password password-string To specify the password for authentication. /native/ios-voice:gw-accounting/ios-voice:file/ios-voice:secondary/ios-voice:ftp/ios-voice:password/ios-voice:password-string String N/A N/A
file secondary sftp sftp-server To specify the name and location of the secondary SFTP server where the accounting file is stored. /native/ios-voice:gw-accounting/ios-voice:file/ios-voice:secondary/ios-voice:sftp/ios-voice:sftp-server String N/A N/A
file secondary sftp username To specify the username for authentication. /native/ios-voice:gw-accounting/ios-voice:file/ios-voice:secondary/ios-voice:sftp/ios-voice:username String N/A N/A
file secondary sftp password encryption To specify the password encryption type. /native/ios-voice:gw-accounting/ios-voice:file/ios-voice:secondary/ios-voice:sftp/ios-voice:password/ios-voice:encryption 0, 6 N/A 0: Specifies an unencrypted password follows; 6: Specifies an encrypted password follows.
file secondary sftp password password-string To specify the password for authentication. /native/ios-voice:gw-accounting/ios-voice:file/ios-voice:secondary/ios-voice:sftp/ios-voice:password/ios-voice:password-string String (MinLength 4, MaxLength 80) N/A N/A
file secondary ifs To specify the name and location of the backup file or other internal file system on the router. /native/ios-voice:gw-accounting/ios-voice:file/ios-voice:secondary/ios-voice:ifs String N/A N/A