Versions Compared
Version | Old Version 4 | New Version 5 |
---|---|---|
Changes made by | ||
Saved on |
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Comment:
added stopping
...
...
Call:
notification of the campaign(s) status changes
Type | PubSub |
---|---|
Key | enigma:notifications:campaigns:<campaign_ref> |
Payload |
|
Values:
<status> | The new campaign status:
|
---|---|
<campaign_ref> | Your Campaign reference |
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
# 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.