Hi!

I want to build a predictive dialer and need some advice on architecture logic. 

There are a lot of studies on how to calculate predictive calls, but I need most from a programming point of view. When the campaign starts, should I create a schedule to run every n seconds and check current calls, logged agents, statistics and then decide to trigger new calls? Or should I subscribe to call events and on every hangup calculate new calls?

Any thoughts?

BR, Gregor