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
Checkout https://github.com/davidcsi/mod_dialer Should help you On Mon, 27 Dec 2021 at 10:12, Gregor Nanger <gregor@infomedia.si> wrote:
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 _________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
-- Regards, David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
Thx for this :-) I am not a C++ expert, but what I grasped, it starts to loop on the campaign and waits until a batch of calls is finished, then starts a new batch. Am I right? This is what puzzled me. Thank you 👍 On Mon, 27 Dec 2021 at 23:48, David Villasmil < david.villasmil.work@gmail.com> wrote:
Checkout https://github.com/davidcsi/mod_dialer
Should help you
On Mon, 27 Dec 2021 at 10:12, Gregor Nanger <gregor@infomedia.si> wrote:
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 _________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
-- Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 _________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
It yields (waits) the configured time-between-calls ms, counts how many calls are running, and generates as many as needed to increase the call count to the configured max_concurrent_calls. On Tue, 28 Dec 2021 at 04:03, Gregor Nanger <gregor@infomedia.si> wrote:
Thx for this :-)
I am not a C++ expert, but what I grasped, it starts to loop on the campaign and waits until a batch of calls is finished, then starts a new batch. Am I right?
This is what puzzled me. Thank you 👍
On Mon, 27 Dec 2021 at 23:48, David Villasmil < david.villasmil.work@gmail.com> wrote:
Checkout https://github.com/davidcsi/mod_dialer
Should help you
On Mon, 27 Dec 2021 at 10:12, Gregor Nanger <gregor@infomedia.si> wrote:
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 _________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
-- Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 _________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
-- Regards, David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
participants (2)
-
David Villasmil
-
Gregor Nanger