Configuring CAC Based on Total Calls, CPU or Memory
The Call Admission Control (CAC) based on CPU Utilization feature permits the Cisco Voice Gateways to deny incoming calls exceeding a pre-configured threshold, permitting the selection of a system CPU load level value.
The ‘Call Threshold’ command allows you to configure two thresholds, high and low. The ‘Call Treatment’ is triggered when the current value of a resource goes beyond the configured high value. The ‘Call Treatment’ remains in effect until the current resource value falls below the configured low value.
SUMMARY STEPS
- enable
- configure terminal
- call threshold global [cpu-5sec | cpu-avg | io-mem | proc-mem | total-calls | total-mem] low low-threshold high high-threshold
- call treatment on
- end
DETAILED STEPS
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 |
enable Example:
|
Enables privileged EXEC mode.
|
||
Step 2 |
configure terminal Example:
|
Enters global configuration mode. |
||
Step 3 |
call threshold global [cpu-5sec | cpu-avg | io-mem | proc-mem | total-calls | total-mem] low low-threshold high high-threshold Example:
|
Configures the Call Admission Control feature based on the total calls, cpu, and memory usage at the interface level to reject SIP calls when the bandwidth that is required for the calls exceed the aggregate bandwidth threshold.
|
||
Step 4 |
call treatment on Example:
|
Enables the call treatment feature. |
||
Step 5 |
end Example:
|
Exits global configuration mode and enters privileged EXEC mode. |
Example: Internal Error Code (IEC) for Default Call Rejection Based on CPU Utilization and Memory
Following is the sample Internal Error Code (IEC) that explains default call rejection based on CPU utilization and memory:
%VOICE_IEC-3-GW: C SCRIPTS: Internal Error (Low memory): IEC=1.1.181.11.4.0 on callID 1GUID=00000000000000000000000000000000
%IVR-3-LOW_MEMORY_RESOURCE: IVR: System running low on memory (99/100 in use). Call (callID=1) is rejected.
%VOICE_IEC-3-GW: C SCRIPTS: Internal Error (CPU high): IEC=1.1.181.11.3.0 on callID 2
%IVR-3-LOW_CPU_RESOURCE: IVR: System experiencing high cpu utilization (97/100). Call (callID=2) is rejected.
%VOICE_IEC-3-GW: CCAPI: Internal Error (Call spike threshold): IEC=1.1.181.1.29.0 on callID 3
%SIP-3-MEMCAC: Call rejected due to CAC based on Memory usage, sent response 503