Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Preview 

Info

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

Key

enigma:notifications:campaigns:<campaign_ref>

Type

PubSub

 

Code Block
languagejs
 //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>
    }
}
  • <callees> array of callees to be dialed next with the number to be tried
    • <number> to dial
    • <custom_call_ref> your custom call reference
  • <campaign_ref> campaign reference

...