mopi_08060
08/01/2025, 1:49 AMAI Evy
08/01/2025, 1:49 AMAI Evy
08/01/2025, 1:49 AMAI Evy
08/01/2025, 1:49 AMAI Evy
08/01/2025, 1:49 AMmopi_08060
08/01/2025, 1:55 AMAI Evy
08/01/2025, 1:55 AMAI Evy
08/01/2025, 1:55 AMmax_call_duration_ms limit is reached .
Maximum Duration Configuration:
- The minimum value allowed is 60,000 ms (1 minute)
- The maximum value allowed is 7,200,000 ms (2 hours)
- By default, this is set to 3,600,000 ms (1 hour)
What Happens When Maximum Duration is Reached:
When the maximum call duration is reached, the call will have a disconnection reason of max_duration_reached with a call status of ended [(4) ]() . This is considered expected behavior according to the debugging documentation .
Monitoring Maximum Duration Events:
You can check if a call was terminated due to maximum duration by:
- Using the [Get Call API]() to retrieve the disconnection_reason field [(5) ]() [(4) ]()
- Checking the call status through the Retell Dashboard [(4) ]()
The maximum duration setting applies to the entire call length and helps ensure calls don't run indefinitely, providing cost control and system resource management.AI Evy
08/01/2025, 1:55 AMAI Evy
08/01/2025, 1:55 AMmopi_08060
08/07/2025, 8:38 PMAI Evy
08/07/2025, 8:38 PMAI Evy
08/07/2025, 8:39 PMjavascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const agentResponse = await client.agent.create({
response_engine: { llm_id: 'llm_234sdertfsdsfsdf', type: 'retell-llm' },
voice_id: '11labs-Adrian',
}) ;AI Evy
08/07/2025, 8:39 PMAI Evy
08/07/2025, 8:39 PMAI Evy
08/07/2025, 8:39 PM