2412 CHAPTER 139: VOICE RADIUS CONFIGURATIONn ■ For direct inward dialing (DID), it is unnecessary to dial an access numberbefore a called number, relative to two-stage dialing.■ If you want to prohibit users from making calls when their account balance inthe RADIUS server which is a composite access management server (CAMS) is0, and allow them to make calls when there is sufficient account balance, youmust configure the authentication, authorization, and accounting functions onthe voice gateway. This rule applies to one-stage dialing users and two-stagedialing users.■ Calls will be released in the case of an accounting failure.Enabling AuthenticationFunction for One-StageDialing UsersFor one-stage dialing users, there is no access number. It is impossible to enablethe authentication function for an individual user according to the identification.Therefore, the authentication function can only be enabled for all one-stagedialing users.Before enabling the authentication function, you must ensure that the RADIUSserver and RADIUS client (voice gateway) can communicate with each other at thenetwork layer and that a list of one-stage dialing users as well as authenticationpolicies has been configured on the RADIUS server.Configuration prerequisitesA voice interface card (for example, an FXS interface card) is inserted in the router.Configuration procedureFollow these steps to enable the authentication function for one-stage dialingusersEnabling AuthorizationFunction for One-StageDialing UsersSimilar to the authentication function, it is impossible to enable the authorizationfunction for an individual one-stage dialing user according to the identificationbecause there is no access number. Therefore, the authorization function can onlybe enabled, if necessary, for all one-stage dialing users.Before enabling the authorization function, you must ensure that theauthentication function is enabled on the RADIUS client, that the RADIUS serverand RADIUS client can communicate with each other at the network layer, andthat a list of one-stage dialing users as well as authorization policies has beenconfigured on the RADIUS server.Enable the accountingfunction for one-stage dialingusersaccounting-did RequiredDisabled by defaultTo do... Use the command... RemarksTo do... Use the command... RemarksEnter system view system-view -Enter voice view voice-setup -Enter voice AAA client view aaa-client -Enable the authenticationfunction for one-stage dialingusersauthentication-did RequiredDisabled by default.