https://retellai.com/?utm_source=discord&utm_medium=seo logo
why does the phone number to my agent ring for lik...
# ❓・ai-evy-support
p
@AI Evy why does the phone number to my agent ring for lik e20 seconds before my agent picks up? Shouldn't it be instant?
a
Thanks for tagging me @pymlu16. I'll look through relevant sources and get back to you shortly.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
### Answer The ring duration before your agent picks up is controlled by the
ring_duration_ms
parameter. [(1) ]() By default, this is set to 30000 ms (30 seconds) . You can adjust this value when creating or updating your agent. The valid range is between 5000 ms (5 seconds) and 90000 ms (90 seconds) . To reduce the ring time, you can set a lower value for
ring_duration_ms
. For example:
Copy code
javascript
const agentResponse = await client.agent.create({
  response_engine: { llm_id: 'llm_234sdertfsdsfsdf', type: 'retell-llm' },
  voice_id: '11labs-Adrian',
  ring_duration_ms: 5000
}) ;
Or update an existing agent using the Update Voice Agent endpoint. [(2) ]()
​ To learn more, see the sources I considered: [[1] Create Voice Agent](https://docs.retellai.com/api-references/create-agent) [[2] Update Voice Agent](https://docs.retellai.com/api-references/update-agent) ​
p
how can i do that in the UI
How can I make that change in the UI @AI Evy
a
Thanks for the follow-up, @pymlu16. I'll get back to you soon.
### Answer I don't have specific documentation showing how to change
ring_duration_ms
through the Retell AI dashboard UI. The available sources only describe this setting via the API when creating or updating an agent. [(1) ]() [(2) ]() Check out these potentially useful sources: - [Create Voice Agent]() - [Update Voice Agent]() You may want to explore the agent settings in your dashboard directly, as UI options may exist that aren't covered in the API documentation. If you can't find it there, you would need to use the API to update your agent's
ring_duration_ms
value. Would you like me to provide a general answer on how this might typically work in the dashboard, or would you prefer guidance on making the change via the API?
​ To learn more, see the sources I considered: [[1] Create Voice Agent](https://docs.retellai.com/api-references/create-agent) [[2] Update Voice Agent](https://docs.retellai.com/api-references/update-agent) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.