This page was last edited on December 15, 2017, at 18:54.
Comments or questions about this documentation? Contact us for support!
OCS can automatically complete a Campaign Group under the following conditions:
The following OCS Communication Protocol - direct, T-Events, and HTTP - attribute is required.
Protocol Attribute (KVP Key) | Value Type | Description |
---|---|---|
GSW_AUTO_COMPLETION | Integer |
|
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.
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} }
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' '****'
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
HTTPProxyClient[]::Desktop request received 'GSW_AUTO_COMPLETION' 1 'GSW_CM_AttrSessionID' 101 'GSW_CM_MessageType' 7 'GSW_APPLICATION_ID' 4114