Information About Forced Authorization Code
Forced Authorization Code Overview
Cisco Unified CME 8.5 allows you to manage call access and call accounting through the Forced Authorization Code (FAC) feature. The FAC feature regulates the type of call a certain caller may place and forces the caller to enter a valid authorization code on the phone before the call is placed. FAC allows you to track callers dialing non-toll-free numbers, long distance numbers, and also for accounting and billing purposes.
In Cisco Unified CME and Cisco Voice Gateways, devices and endpoints are logically partitioned into different logical partitioning class of restriction (LPCOR) groups. For example, IP phones, Analog phones, PSTN trunks, and IP (h323/SIP) trunks as shown in Forced Authorization Code Network Overview, are partitioned into five LPCOR groups under the voice lpcor custom mode, such as:
-
voice lpcor custom
-
group 10 Manager
-
group 11 LocalUser
-
group 12 RemoteUser
-
group 13 PSTNTrunk
-
group 14 IPTrunk
For each group, the LPCOR group policy of a routing endpoint is enhanced to define incoming calls from individual LPCOR groups that are restricted by FAC. A LPCOR group call to a destination is accepted only when a valid FAC is entered. FAC service for a routing endpoint is enabled through the service fac defined in a LPCOR group policy. For more information, see Enable Forced Authorization Code (FAC) on LPCOR Groups.
The following are the group policy rules applicable to the PSTNTrunk LPCOR group:
-
FAC is required by PSTNTrunk if a call is initiated from either LocalUser or RemoteUser group.
-
Any calls from Manager group are allowed to terminate to PSTNTrunk without restriction.
-
Any incoming calls from either IPTrunk or PSTNTrunk group are rejected and terminated to PSTNTrunk group.
For information on configuring LPCOR groups and associating LPCOR group with different device types, see Call Restriction Regulations.
FAC Call Flow
FAC is required for an incoming call based on the LPCOR policy defined for the call destination. Once the authentication is finished, the success or failure status and the collected FAC digits are saved to the call detail records (CDRs).
Calls are handled by a new built-in application authorization package which first plays a user-prompt for the caller to enter a username (in digits), then the application plays a passwd-prompt for the caller to collect the password (in digits). The collected username and password digits are then used for FAC, see Define Parameters for Authorization Package.
When FAC authentication is successful, the outgoing call setup is continued to the same destination. If FAC authentication fails, the call is then forwarded to the next destination. FAC operations are invoked to the call if FAC service is enabled in the next destination and no valid FAC status is saved for the call.
Any calls failing because of FAC blocking are disconnected with a LPCOR Q.850 disconnect cause code. Once the FAC is invoked for a call, the collected authorization digits and the authentication status information is collected by call active or call history records. You can retrieve the FAC information through the show call active voice and show call history voice commands.
Forced Authorization Code Specification
The authorization code used for call authentication must follow these specifications:
-
The authorization code must be in numeric (0 – 9) format.
-
A digit collection operation must be completed if either one of the following conditions occur: -
maximum number of digits are collected
-
digit input times out
-
a terminating digit is entered
-
Once digit collection is completed, the authentication is done by either the external Radius server or Cisco Unified CME or Cisco Voice Gateways by using AAA Login Authentication setup. For more information on AAA login authentication methods, see Configuring Authentication.
When authentication is done by local Cisco Unified CME or Cisco Voice Gateways, the username ac-code password 0 password command is required to authenticate the collected authorization code digits.
FAC data is stored through the CDR and new AAA fac-digits and fac-status attributes and are supported in a CDR STOP record. This CDR STOP record is formatted for file accounting, RADIUS or Syslog accounting purpose.
FAC Requirement for Different Types of Calls
Table 1 shows FAC support for different types of calls.
Types of Calls |
FAC Behavior for Different Calls |
---|---|
Basic Call |
A calls B. B requires A to enter a FAC. A is routed to B only when A enters a valid FAC. |
Call Forward All Call Forward Busy |
When A (with no FAC) calls B, A is call forwarded to C:
|
Call Forward No Answer |
When A (with no FAC) calls B and A (with FAC) calls C: A calls B:
A is Call Forward No Answer (CFNA) to C.
|
Call Transfer (Blind) |
FAC is required, if B calls C and A, and A calls C. Example: A calls B. B answers the call. B initiates a blind transfer call to C. A is prompted to enter FAC. A is routed to C only if a valid FAC is entered by A. |
Call Transfer (Consultation) Transfer Complete at Alerting State |
|
Transfer Complete at Connected State |
|
Conference Call (Software/Adhoc) |
|
Meetme Conference |
|
Call Park and Retrieval |
|
Call Park Restore |
|
Group Pickup |
|
Single Number Redirection (SNR) |
FAC is not supported for an SNR call. |
Third Party Call Control (3pcc) |
FAC is not supported for a three-party call control (3pcc) outgoing call. |
Parallel Hunt Groups |
FAC is not supported on parallel hunt groups. |
Whisper intercom |
FAC is not supported for whisper intercom calls. |