Dialer: Creating a large campaign fails
Problem
Trying to create a large campaign fails with unhelpful error messages
Solution
HTTP is timing out, and a batched process needs to be implemented to create the campaign
- Create the campaign with its settings and agents (with a POST Campaign Add) as described in the API
- Then loop over the callees and in batches of 100 update the campaign (with a PUT Campaign Update) with callees until all are done
Related articles