### Answer
There are several approaches to achieve time-based call routing with your Retell AI agent setup.
Option 1: Business Hours Configuration in Retell AI
Retell AI enables you to define your business hours, ensuring that calls are routed appropriately based on the time of day [(1) ](
) . This can be configured in the Retell AI dashboard, allowing you to specify the days and times when your team is available to answer calls . Outside of business hours, Retell AI's call routing services can route calls to various resources, such as AI voice agents, voicemail, or third-party answering services .
A common configuration involves using call forwarding to differentiate between business hours and after-hours support [(2) ](
) :
- During Business Hours: Calls are routed directly to human agents who can provide personalized assistance
- After Business Hours: Once operating hours end, calls are automatically forwarded to the AI agent
Option 2: Telephony Provider Configuration
You can configure time-based routing through your telephony provider's portal or by using specific codes . This setup ensures 24/7 availability for customers without requiring human agents to work around the clock .
Option 3: Custom Server Implementation
For more complex routing scenarios, you might need to host the call routing on your server [(3) ](
) . This involves using an endpoint running on your server (like "/incoming_call") with a custom routing function that can evaluate the current time and route calls accordingly .
The key advantage of these approaches is maintaining consistent service levels while