Revision as of 18:53, April 26, 2018 by Pmcknigh (talk | contribs)
Jump to: navigation, search

Campaign Group Status Reporting

All New

Outbound Contact Server can store data about Campaign Groups in an external system, such as Elasticsearch, to support feature-rich reporting. The following states and information can be reported:

  • Campaign Group loaded
  • Campaign Group started
  • Campaign Group stopped
  • Campaign Group unloaded
  • Campaign activity--generated periodically at a user-defined interval

Feature Configuration

To configure this feature, use the following configuration options:

OCS uses the following options to retrieve connection information about the configuration:

Error Handling

There is no error-handling carried out by this feature. If the message to the external system (Campaign Manager) fails, no post-processing or retries are executed.

Messages to External System (Campaign Manager)

The set of messages for this feature is described in the Outbound Contact Reference Manual here.

The following attributes are passed by OCS in the body of the HTTP notification to the external Web/Application Server when there is a state change of a Campaign Group:

Attribute Type Required? Description
GSW_TENANT_NAME String Yes

Defaults to undefined if not set.

QUESTION: This is described in the design as "New key; Value should be read from Environment Tenant\Annex\devops\customer_name option;" but it is defined in the Reference Guide in the table of Default Record Information.

GSW_TENANT_CCID String Yes
GSW_CAMPAIGN_GROUP_NAME String Yes
GSW_CAMPAIGN_GROUP_GUID String Yes
GSW_GROUP_NAME String Yes
GSW_CAMPAIGN_NAME String Yes (if present in configuration)
GSW_CAMPAIGN_TEMPLATE_NAME String Yes (if present in configuration)
GSW_QUEUE_NAME String Yes Name of the Voice Transfer Destination DN
GSW_DIAL_MODE Integer No - Defined only for running Campaign Groups Use CfgDialMode enum values
GSW_OPTIMIZE_BY Integer No - Available for Predictive modes only Use CfgOptimizationMethod enum values
GSW_OPTIMIZE_GOAL Integer No - Available for Predictive modes only
GSW_CAMPAIGN_GROUP_STATE Integer Yes Use CM_GrpCampState enum values
GSW_CAMPAIGN_GROUP_ACTION Integer Yes

Identifies client request which has caused message generation. Use CM_ReqSetDialingMode when dial mode is changed.

Use CMMessageType enum values CM_ReqLoadCampaign, CM_ReqUnloadCampaign, CM_ReqStartDialing, CM_ReqStopDialing, or CM_ReqSetDialingMode

GSW_CAMPAIGN_GROUP_ACTOR Integer Yes Distinguishes action caused by OCS Client or automatic action taken by OCS itself (either per Schedule or per internal Campaign Group condition). Valid values are:

0 (zero) -- Actor Type unknown
1 -- Actor Type OCS Client (actions invoked by direct OCS Client connected via CM Library protocol)
2 -- Actor Type COMM Client (actions invoked by Communication DN Client connected via 3rd party Comm DN protocol)
3 -- Actor Type Self (actions invoked by Campaign Group internal logic)
4 -- Actor Type Schedule (actions invoked by Schedules)
5 -- Actor Type Sequence (actions invoked by Sequences)

GSW_DATE_TIME String Yes Timestamp when action occurred; UTC time as seconds, with msec precision.
Comments or questions about this documentation? Contact us for support!