Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reformat

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. 

PubSub

Type

Redis

Key

enigma:notifications:campaigns:<campaign_ref>

Payload

  • type: dial_preview
  • payload: <notif>callees:

    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: <number> to dial
      • contact_ref: <custom_call_ref> your custom call referenceref:
    • <campaign_ref> campaign reference

    Values:

    <callees>

    An array of callees where a single callee contains:

    • number: to dial
    • contact_ref: <custom_call_ref> your custom call reference
    <custom_call_ref>
    Your custom call reference specified for this callee (use this for your lookups)
    <campaign_ref>Your Campaign reference

    Example:

    ...