Contents
Campaign Group Auto Completion
OCS can automatically complete a Campaign Group under the following conditions:
- When all retrieved calling list records have been finalized.
- If no calling list records were retrieved when the last request was sent to the database.
Scenario
- For a LoadCampaign, StartDialing, or SetDialingMode event, an HTTP request is sent to OCS.
- The request contains the attribute GSW_AUTO_COMPLETION with a value of 1.
- OCS has no records to dial, either because all have been finalized or because none were retrieved when the last request was sent to the database.
- OCS stops the Campaign Group automatically via Stop and Unload actions.
- Agents receive the following notifications: CampaignStopped and CampaignUnloaded.
Feature Configuration
The following OCS Communication Protocol - direct, T-Events, and HTTP - attribute is required.
Protocol Attribute (KVP Key) | Value Type | Description |
---|---|---|
GSW_AUTO_COMPLETION | Integer |
|
Important
Remember - this attribute can only be added to the following events:
- CampaignLoad
- StartDialing
- SetDialingMode
Processing
In the event the attribute contains a value of 1, OCS stops the Campaign Group automatically via the Stop and Unload actions. As a result, agents receive CampaignStopped and CampaignUnloaded notifications.
If the attribute contains a value of 0 or if a CampaignLoad, StartDialing, or SetDialingMode event does not contain the GSW_AUTO_COMPLETION attribute, OCS ignores the functionality.
Example Requests and Responses
HTTP Request to GWS for direct connect to OCS
Request
POST http://127.0.0.1:8098/ocs/v3/servers/156/load-campaign { "data": {"campaignId":101, "requestProperties":[ {"key":"GSW_AUTO_COMPLETION", "value":1} ], "groupId":732} }
Response
23:57:57.891 OCMClient[9]::message received GSW_CM_MessageType 7 [GSW_CM_ReqLoadCampaign] GSW_CM_AttrReferenceID 10 GSW_CM_AttrCampaignID 101 GSW_CM_AttrGroupID 732 GSW_CM_AttrProperties 'GSW_AUTO_COMPLETION' '****'
HTTP Request to OCS
Request
CmHttpEvent[1-1]::14:10:13.014 Processing HTTP request; uri: /campaigngroups/101?req=Load {"GSW_AUTO_COMPLETION": 1} 14:10:13.014 Parsed OCS request: 'GSW_AUTO_COMPLETION' 1 'GSW_CM_AttrSessionID' 101 'GSW_CM_MessageType' 7
Response
HTTPProxyClient[]::Desktop request received 'GSW_AUTO_COMPLETION' 1 'GSW_CM_AttrSessionID' 101 'GSW_CM_MessageType' 7 'GSW_APPLICATION_ID' 4114
This page was last edited on December 15, 2017, at 18:54.
Comments or questions about this documentation? Contact us for support!