Ok so more to the point:
I’m creating calls. These calls while they are active, they keep a record in a table. I have no knowledge in my script of the calls status but by counting the records in that table. The calls last whatever they last.
I get a number list that I need to call.
I just start a for NUMBER and start sending calls, these calls are sent via a simple function that “shoot and forget”, so the function returns immediately.
I check the call count from the db table and whenever the call count is lower than maxChannels, I send more calls.
I’m not looking for specific code, I’m asking whether this can be done via some module in python. The script is working, that’s not a problem, I’m just wondering and looking to make it better, maybe by using some module out there.