# Bug: max\_call\_duration\_ms not being enforced

**URL:** <https://community.retellai.com/t/bug-max-call-duration-ms-not-being-enforced/391>\
**Category:** Support Help\
**Created:** [January 9, 2026, 8:07pm UTC](https://community.retellai.com/t/bug-max-call-duration-ms-not-being-enforced/391 "2026-01-09T20:07:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MoeLife](https://avatars.discourse-cdn.com/v4/letter/m/a8b319/32.png) [@MoeLife](https://community.retellai.com/u/MoeLife)\
**Post date:** [January 9, 2026, 8:07pm UTC](https://community.retellai.com/t/bug-max-call-duration-ms-not-being-enforced/391/1 "2026-01-09T20:07:17Z")

</div>

**Bug: max\_call\_duration\_ms not being enforced**

I set my agent’s `max_call_duration_ms` to 3,618,000 (60 minutes) and verified via API that it was published (version shows `is_published: true`).

However, a call that started AFTER the publish ran for 130+ minutes without being terminated.

Timeline:

- Agent version with 60-min limit published: Jan 8

- Call started: Jan 9 (after publish)

- Call duration: 130+ minutes (still ongoing when I checked)

Is there a known issue with max\_call\_duration enforcement? Is there something special about batch calls vs regular calls?

---

<div class="post-metadata">

**Author:** ![support2](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.retellai.com/support2/32/15_2.png) [@support2](https://community.retellai.com/u/support2)\
**Post date:** [January 9, 2026, 8:07pm UTC](https://community.retellai.com/t/bug-max-call-duration-ms-not-being-enforced/391/2 "2026-01-09T20:07:40Z")

</div>

Based on the documentation, `max_call_duration_ms` is the maximum allowed length for a call and will force end the call if reached[(1)](https://docs.retellai.com/api-references/update-agent). The minimum value allowed is 60,000 ms (1 min), and the maximum value allowed is 7,200,000 ms (2 hours), with a default of 3,600,000 ms (1 hour)[(1)](https://docs.retellai.com/api-references/update-agent).

Your value of 3,618,000 ms (approximately 60.3 minutes) is within the valid range[(1)](https://docs.retellai.com/api-references/update-agent).

There are a few community reports of similar issues. One user reported that their agent’s Max Call Duration set to 5 minutes did not hang up, and calls stayed on until the 1-hour threshold was hit[(2)](https://discord.com/channels/1186424376300679209/1418663828979191942). When asked if they updated the agent version on the phone number after the change, this was identified as a potential issue[(2)](https://discord.com/channels/1186424376300679209/1418663828979191942).

**Key troubleshooting step** : After updating your agent with the new `max_call_duration_ms` value, you need to ensure the phone number or call configuration is using the updated agent version[(2)](https://discord.com/channels/1186424376300679209/1418663828979191942). Simply publishing the agent version may not be enough—you need to verify that the phone number or batch call configuration references the correct agent version with your updated settings.

For batch calls specifically, one user reported calls continuing beyond their configured 20-minute limit in a batch, with 2 calls still ongoing after 45 minutes[(3)](https://discord.com/channels/1186424376300679209/1355206830762102904). The response indicated that concurrency refers to how many calls are active simultaneously, and suggested manually cancelling ongoing calls in the batch[(3)](https://discord.com/channels/1186424376300679209/1355206830762102904).

If updating the agent version binding doesn’t resolve the issue, you may want to:

- Visit [Contact Sales](https://retellai.octolane.com/)
- Ask questions on [Discord](https://discord.com/invite/wxtjkjj2zp)
- Visit [https://github.com/RetellAI/](https://github.com/RetellAI/)

---

<div class="post-metadata">

**Author:** ![Omar\_Ashraf](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.retellai.com/omar_ashraf/32/102_2.png) [@Omar\_Ashraf](https://community.retellai.com/u/Omar_Ashraf)\
**Post date:** [January 9, 2026, 9:16pm UTC](https://community.retellai.com/t/bug-max-call-duration-ms-not-being-enforced/391/3 "2026-01-09T21:16:37Z")

</div>

Hello @MoeLife,  
I believe we’ve just resolved this issue together on Discord!  
Please let me know if you require any further assistance.
