Campaign Preview
Preview
Available from v1.2.1
This is NOT preview dialing (where the next matter can be selected ahead of time).
It is an optimisation so that the integrators know which data to cache in the case of big databases.
Sends a list of all the callees that will be dialed in the next stint.
A stint is roughly twice the number of active agents.
Redis |
//Notification Example psubscribe enigma:notifications:campaigns:* { type: "dial_preview", payload: { callees : <callees>[ {number:<number>, contact_ref: <contact_ref>}, {number:<number>, contact_ref: <contact_ref>}, ... ], ref : <campaign_ref> } }
|
---|
Values:
<callees> | An array of callees where a single callee contains:
|
---|---|
<custom_call_ref> | Your custom call reference specified for this callee (use this for your lookups) |
<campaign_ref> | Your Campaign reference |
Example:
# get notifications for all campaigns psubscribe enigma:notifications:campaigns:* # get notifications for campaign 1234 subscribe enigma:notifications:campaigns:1234