
In Progress
Posted
Paid on delivery
Task: Fix Batch-Based AI Calling System (Python + Webhooks) [login to view URL] Project Overview We have an AI auto voice calling system ([login to view URL]) where multiple agents call a list of contacts. The system is designed to: Assign calls batch-wise to agents Each agent should pick one contact at a time Once all agents complete their current call, the system should automatically move to the next batch of contacts This should continue sequentially until all contacts are completed Current Issue The batch logic is not working properly. Observed problems: Calls are not moving correctly to the next batch Some agents are idle while others are still processing Status updates (Answered, Missed, Queued, etc.) are not triggering the next batch properly Likely issue with webhook status handling / async processing / race conditions Expected Behavior Assign N agents → N contacts (1 per agent) Wait until all N agents finish current calls Based on webhook response (completed/failed/missed), mark status Only after all are done → assign next N contacts Continue until all contacts are processed Tech Stack (Current) Python (backend logic) Webhooks for call status updates Likely async / queue-based calling system API-based calling (telephony provider) Scope of Work Debug current batch calling logic Fix webhook-based status tracking Ensure proper synchronization between agents Prevent race conditions / duplicate triggers Implement reliable queue or state management Optimize for scalability (10 → 10,000+ calls) Preferred Experience Strong Python (async, threading, queues) Experience with webhook systems & event-driven architecture Telephony APIs (Twilio, Exotel, Knowlarity, etc.) – plus Redis / Celery / Queue systems – preferred Debugging real-time systems Deliverables Fixed batch calling logic Clean, documented code Optional: suggestion to improve architecture (if needed) ⏱ Timeline Urgent task (prefer quick turnaround) Additional Notes We can share: Existing Python code API details Webhook payload samples System flow explanation
Project ID: 40426233
12 proposals
Remote project
Active 10 days ago
Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

The malfunctioning batch logic in the AI auto voice calling system likely stems from asynchronous processing errors and race conditions within the webhook handling. The observed issues of agents being idle while others process calls indicate a need for robust synchronization mechanisms to manage state effectively. Leveraging frameworks such as Celery can enhance the queue management, ensuring that webhook responses trigger status updates seamlessly without duplication. I can address the current batch handling logic and implement improved status updates, delivering a working solution in 7 days. Should I send over a brief outline of how I'd tackle this?
₹925 INR in 5 days
2.2
2.2
12 freelancers are bidding on average ₹1,073 INR for this job

I understand that your AI auto voice calling system is struggling with batch logic, leading to some agents being idle while others are still processing calls. This inefficiency likely stems from issues with webhook status handling and asynchronous processing. With over 12 years of extensive experience in Python and backend development, I can efficiently debug the current batch calling logic and ensure proper synchronization between agents. My expertise in event-driven architecture and familiarity with telephony APIs like Twilio can help streamline the call assignment process. Additionally, leveraging Redis or Celery could prevent race conditions and optimize state management for scalability. Deliverables will include clean, documented code along with any architectural suggestions if necessary. To better understand your system's requirements, could you share what specific webhook payloads are currently being sent during the call process?
₹1,500 INR in 7 days
4.4
4.4

Hi there, I read your requirements carefully, and I can help fix the batch-based AI calling logic in your Python webhook system. The issue sounds like a synchronization/race-condition problem where webhook status updates are not correctly confirming that all active agents have finished before the next batch starts. I can debug the current logic, review webhook payloads, fix status tracking, prevent duplicate triggers, and make sure each agent gets only one contact at a time. Expected flow I’ll implement/fix: Assign N agents → N contacts Track each call status from webhook Wait until all current calls are completed/failed/missed Trigger the next batch only once Continue safely until all contacts are processed I have strong experience with Python backend logic, async processing, queues, APIs, webhook handling, debugging, and scalable state management. If needed, I can also suggest a cleaner queue-based structure using Redis/Celery for future scaling. Cost: ₹1,500 || Timeline: urgent / same day after code access Payment and timeline details can be discussed further to align with your expectations. I’d be happy to help fix this quickly and make the calling flow stable. Best regards, Oluwatobi Okedairo
₹1,500 INR in 1 day
1.0
1.0

I will debug and fix your batch-based AI calling system built in Python, focusing on webhook handling, async execution, and proper batch synchronization. I will resolve issues where agents are not correctly assigned or batches are not progressing by fixing race conditions and improving state management. I will ensure that each batch only proceeds after all agents complete their current calls, based on accurate webhook status updates. If needed, I will improve the queue/architecture for better scalability and reliability. The final system will be stable, properly synchronized, and ready for real-time calling at scale.
₹600 INR in 4 days
0.0
0.0

As an experienced Python developer with a keen eye for detail, I believe I am the ideal freelancer to debug and fix the batch calling logic in your AI auto voice calling system. My know-how in data science and AI/ML solutions will play a key role in gaining a deeper understanding of the issue, and implementing the correct bug fixes. I am well-versed in using Python for async, threading, and queue management, skills that are crucial for this task. Furthermore, my experience with webhook systems and event-driven architecture aligns perfectly with your project's needs. I have a thorough understanding of telephony APIs such as Twilio and Exotel which will simplify my ability to grasp your project requirements quickly. Moreover, my familiarity with Redis, Celery, and other queue systems sets me apart as it promotes both the visibility and scalability of real-time systems like yours. Your project timeline is urgent, but rest assured, my focus is primarily on delivering efficient, high-quality solutions tailored to client needs without compromising speed or reliability. I have a knack for identifying potential improvements in existing architectures that can enhance overall functionality and I am glad to provide suggestions if needed. Don't hesitate to contact me so we can get started on fixing the issue and optimizing your batch calling system!
₹1,050 INR in 7 days
0.0
0.0

I recently completed a similar project improving batch processing logic for an AI-based call system, which resulted in a 30 percent increase in call handling efficiency and smoother agent utilization. While new to Freelancer, I have hands-on experience working on large-scale projects involving system orchestration and async processing with companies like Microsoft and Stripe, where I contributed to scalable backend services with real-time event handling. I understand you need a clean and efficient batch assignment system that assigns contacts to agents one at a time, waits for all to finish, and then seamlessly triggers the next batch based on webhook responses while avoiding race conditions and idle agents. I value simplicity and structure, focusing on building reliable solutions from the ground up, ensuring code is maintainable and scalable without unnecessary complexity or patchwork fixes. I am ready to dive in and resolve the batch logic issues effectively for reliable, scalable call handling. If this aligns with your project, feel free to reach out to discuss scope and pricing. Regards Patrick
₹1,150 INR in 3 days
0.0
0.0

Dear [Client Name], With my expertise in Python, Linux, debugging, and API integration, I am confident in my ability to tackle the logic bug in your AI calling system. I have a strong background in real-time systems and experience with webhook systems, making me well-equipped to address the issues you're facing. I will work diligently to debug the current batch calling logic, ensure proper synchronization between agents, and optimize the system for scalability. My goal is to deliver clean, documented code that meets your expectations and improves the system's performance. I am excited about the opportunity to work on this project and contribute to its success. I look forward to discussing the details further and providing you with a reliable solution in a quick turnaround time. Warm regards, bh
₹1,050 INR in 3 days
0.0
0.0

Hello, I read the project details and understand that the call batch logic is not moving correctly to the next batch. This may be caused by webhook status handling, async updates, or race conditions in the part of the system that checks whether a batch is finished. I can review how statuses like Queued, Answered, Missed, and Completed are processed, then fix the transition logic so the next batch starts only when the current one is actually ready. I have experience with JavaScript, Node.js, API integrations, webhooks, and backend debugging. I will first identify the exact cause, then apply and test a clean fix. I’m available to work within your listed budget. Best regards
₹1,050 INR in 7 days
0.0
0.0

Visakhapatnam, India
Payment method verified
Member since May 10, 2011
₹1500-12500 INR
₹600-1500 INR
₹600-1500 INR
₹12500-37500 INR
₹1500-12500 INR
₹12500-37500 INR
₹600-1500 INR
₹3000-30000 INR
$250-750 USD
$250-750 SGD
$5000-10000 USD
$2-8 USD / hour
$30-250 USD
$250-750 USD
₹1500-12500 INR
$30-250 AUD
$250-750 AUD
$2-8 USD / hour
$240-2000 HKD
$30-250 AUD
$30-250 USD
$10-30 USD
₹1500-12500 INR
₹600-1500 INR
₹1500-12500 INR