Cisco Unified Contact Center Enterprise Developer Reference Release 10.0(x)
Congestion Control API
Downloads: This chapterpdf (PDF - 1.08MB) The complete bookPDF (PDF - 2.16MB) | The complete bookePub (ePub - 132.0KB) | Feedback

Congestion Control API

Congestion Control API

Congestion control parameters determine how calls are treated by the system when too many calls are received at one time. Use the Congestion Control API to list or edit the current congestion control parameters in the database.

URL

URL: https://<server>/unifiedconfig/config/congestioncontrol

Operations

  • get: Returns the congestion control parameters, using the URL https://<server>:<serverport>/unifiedconfig/config/congestioncontrol.
  • update: Updates the congestion control parameters.

Parameters

  • deploymentType: The type of deployment. See Deployment Type Info API.
  • congestionEnabled: Indicates if congestion control is enabled. Value is true/false.
  • congestionTreatmentMode: Mode to handle congestion. Values are:
    • 1: Dialed Number default label is used for call treatment.
    • 2: Treat call with Routing client default label.
    • 3: Treat call with System default label.
    • 4: Terminate with Dialog Fail/RouteEnd.
    • 5: Release message to the Routing client.
  • systemDefaultLabel: Default label string to treat the calls subjected to congestion control. Only used if congestionTreatmentMode is set to 3 (Treat call with System default label).
  • cpsCapacity: The maximum number of calls per second allowed.
  • cpsCapacityDefault: The default value for the cpsCapacity parameter for the current deployment type. Read-only.

Example Get Response

<congestionControl>
      <deploymentType>0</deploymentType>
      <congestionTreatmentMode>1</congestionTreatmentMode>
      <congestionEnabled>true</congestionEnabled>
      <systemDefaultLabel></systemDefaultLabel>
      <cpsCapacity>100</cpsCapacity>
      <cpsCapacityDefault>150</cpsCapacityDefault>
</congestionControl>