Campaign Status
- Rijnhard Hessel
Owned by Rijnhard Hessel
notification of the campaign(s) status changes
Â
Redis |
//Notification Example psubscribe enigma:notifications:campaigns:* { type: "status", payload: { status: <status>, ref : <campaign_ref> } }
|
---|
Values:
<status> | The new campaign status:
|
---|---|
<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
Â
Â
Ending a Campaign
If a campaign runs out of callees to call it will stop.Â
If a campaign is manually stopped via the API, it will first enter a stopping state which indicates that  the agents still have callee's on the line and that there are still callees in the queue. Once all the callees are dealt with it will enter stopped.
A campaign is only completed if it has dialed all callees and all retries have been reached.Â