2723

<Sysname> system-view

[Sysname] voice-setup

[Sysname-voice] aaa-client

[Sysname-voice-aaa] accounting-did

# Disable the accounting function for all one-stage dialing users.

[Sysname-voice-aaa] undo accounting-did

acct-method

Syntax acct-method { start-ack start-no-ack stop-only }

undo acct-method

View Voice AAA client view

Parameter start-ack: The voice gateway sends an Accounting_Start request to the RADIUS server and needs to receive an Accounting_Start acknowledgment before connecting a call. The voice gateway sends an Accounting_Stop request to the RADIUS server but does not need to receive an Accounting_Stop acknowledgment before releasing the call.

start-no-ack: The voice gateway sends an Accounting_Start request or Accounting_Stop request to the RADIUS server before connecting or releasing a call, and directly connects or releases the call without waiting for an acknowledgment from the RADIUS server.

stop-only: The voice gateway sends an Accounting_Stop request to the RADIUS server before releasing a call, and directly releases the call without waiting for an acknowledgment from the RADIUS server.

Description Use the acct-methodcommand to configure an accounting method for the RADIUS client.

Use the undo acct-methodcommand to restore the default.

By default, the accounting method is start-no-ack.

Related command: accounting and accounting-did.

Example # Set the accounting method to start-ack.

<Sysname> system-view

[Sysname] voice-setup

[Sysname-voice] aaa-client

[Sysname-voice-aaa] acct-method start-ack

# Restore the default accounting method.

[Sysname-voice-aaa] undo acct-method

Page 2723
Image 2723
3Com MSR 50 Acct-method, Related command accounting and accounting-did, Example # Set the accounting method to start-ack