Time-Based Routing: Business Hours vs After-Hours Guide | NetviaVoice

⏰ Time-Based Routing: Business Hours vs After-Hours – Complete Guide

Summary: Time-based routing ensures callers reach the right destination based on when they call—during business hours, after hours, on weekends, or holidays. This guide covers everything you need to know: how time-based routing works, step-by-step configuration in FreePBX, 3CX, and Asterisk, creating holiday schedules, and best practices to improve customer experience and reduce missed calls.

🔍 What is Time-Based Routing?

Time-based routing is a telephony feature that automatically directs incoming calls to different destinations based on the time of day, day of the week, or specific holidays. For example, during business hours (Monday-Friday, 9 AM to 5 PM), calls are routed to the reception desk or main IVR. After hours, they are sent to a voicemail box, an on-call mobile number, or an after-hours IVR with limited options.

Time-based routing ensures that callers always reach the appropriate service based on when they call. It improves customer experience by reducing frustration—callers aren't left wondering why no one is answering during lunch breaks or after closing time. Instead, they receive a clear message or are connected to the right person.

📞 Time-Based Routing Flow

[Incoming Call] → [Time Condition Check] → {
  ▶ Business Hours? → Route to IVR / Reception
  ▶ After Hours? → Route to Voicemail / Mobile / Night IVR
  ▶ Holiday? → Route to Holiday IVR / Voicemail
}

💡 Key Insight: Time-based routing isn't just about "business hours" vs "after hours." It can be extended to lunch breaks, shift changes, department-specific schedules, and even time-of-day based Least Cost Routing (LCR) to take advantage of cheaper call rates during certain periods.

📈 Why Time-Based Routing Matters

✅ Business Benefits

  • Improved Customer Experience: Callers get appropriate responses based on the time they call—no more ringing endlessly after hours.
  • Reduced Missed Calls: After-hours calls are captured by voicemail or forwarded to on-call staff instead of going unanswered.
  • Operational Efficiency: Staff aren't disturbed during breaks or after hours unless designated as on-call.
  • Professional Image: Customized greetings for business hours, after hours, and holidays create a polished experience.

⚠️ What Happens Without It

  • Frustrated Callers: Customers calling after hours hear endless ringing or a generic voicemail.
  • Missed Opportunities: Sales calls after hours go to voicemail and may not be returned promptly.
  • Employee Burnout: Staff may feel pressured to answer calls during breaks or off-hours.
  • Inconsistent Experience: Callers get different experiences depending on when they call.

⚖️ Business Hours vs After-Hours Routing

Understanding the difference between these two routing modes is essential for proper configuration:

AspectBusiness HoursAfter-Hours
WhenMonday-Friday, typically 9 AM – 5 PM (customizable)Evenings, weekends, and holidays
DestinationReception desk, live agents, main IVRVoicemail, on-call mobile, night IVR
Greeting"Thank you for calling [Company]. How may I help you?""Our office is closed. Please leave a message or call back during business hours."
Caller ExpectationExpects to speak with a live personExpects voicemail or limited options
StaffingFull staff availableLimited or on-call staff only

⚠️ Important: Define your business hours carefully. If your business operates with multiple shifts or different hours for different departments, you may need separate time conditions for each department.

🔧 Key Components of Time-Based Routing

📅 Time Conditions

  • Define the schedule for business hours
  • Specify days of the week and time ranges
  • Can include exceptions for holidays

🎯 Destinations

  • True (Business Hours): IVR, extension, ring group, queue
  • False (After Hours): Voicemail, external number, night IVR

📋 Holiday Schedules

  • Override regular time conditions on specific dates
  • Route calls to holiday-specific greetings or voicemail

🔁 Failover Routing

  • If the primary destination is unavailable, route to backup
  • Ensures calls always reach someone or something

🛠️ Configuring Time-Based Routing in FreePBX

FreePBX uses Time Conditions to implement time-based routing. Here's how to set it up:

Step 1: Create a Time Condition

  • 1 Go to Applications → Time Conditions in the FreePBX admin interface.
  • 2 Click "Add Time Condition".
  • 3 Enter a Description (e.g., "Business Hours").
  • 4 Under Time to Match, define your schedule:
    • Days of the Week: Monday, Tuesday, Wednesday, Thursday, Friday
    • Start Time: 09:00
    • End Time: 17:00
  • 5 Under Destinations:
    • If Time Matches (True): Select your business hours destination (e.g., IVR, reception extension)
    • If Time Does Not Match (False): Select your after-hours destination (e.g., voicemail, on-call mobile)
  • 6 Click Submit and Apply Config.

Step 2: Route Inbound Calls to the Time Condition

  • 1 Go to Connectivity → Inbound Routes.
  • 2 Edit your inbound route (or create a new one).
  • 3 In the Destination field, select the time condition you just created.
  • 4 Click Submit and Apply Config.

💡 Pro Tip: You can create multiple time conditions for different departments. For example, Sales might be open 9-5, while Support is open 8-6. Each DID can route through its own time condition.

🚀 Need Help with Time-Based Routing? NetviaVoice Can Assist

Our VoIP specialists can help you configure time-based routing, holiday schedules, and failover routing for your business phone system.

📞 +92 333 5908806 (Global)
Visit NetviaVoice

🛠️ Configuring Time-Based Routing in 3CX

3CX uses Schedules and Inbound Rules for time-based routing.

  • 1 Go to Settings → System → Schedules in the 3CX Management Console.
  • 2 Click "Add Schedule" and define your business hours (e.g., Monday-Friday 9:00 AM to 5:00 PM).
  • 3 Go to Voice & Chat → Inbound Rules.
  • 4 Edit your inbound rule (or create a new one).
  • 5 Under Schedule, select the schedule you created.
  • 6 Set the Business Hours destination and Outside Business Hours destination.
  • 7 Click "OK" to save.

⚠️ Important: In 3CX, holiday schedules must be created separately and then assigned to inbound rules. Make sure to update holiday schedules annually.

🛠️ Configuring Time-Based Routing in Asterisk

Asterisk uses the GotoIfTime application in the dialplan to implement time-based routing.

; extensions.conf – Time-Based Routing Example [inbound] exten => _X.,1,NoOp(Incoming call from ${CALLERID(num)}) same => n,GotoIfTime(09:00-17:00,mon-fri,*,*?business,1) same => n(afterhours),Goto(ivr-afterhours,1) [business] exten => 1,1,Goto(ivr-main,1) [ivr-afterhours] exten => 1,1,Background(afterhours-greeting) same => n,WaitExten(10) same => n,VoiceMail(100,u)

💡 Pro Tip: The GotoIfTime syntax is: GotoIfTime(times,days_of_week,days_of_month,months?label). Use * as a wildcard for any value.

🎄 Handling Holidays & Special Days

Holidays require special treatment. Here's how to handle them in different PBX systems:

PBX SystemHow to Configure Holidays
FreePBXGo to System Admin → Holiday Dates. Add each holiday with a name and date. Then reference holidays in time conditions by enabling "Holiday Override".
3CXGo to Settings → System → Schedules. Create a Holiday Schedule with specific dates. Assign it to inbound rules as the holiday destination.
AsteriskUse the GotoIfTime application with specific dates, or use the Holidays module with a holiday file.

⚠️ Important: Holidays must be updated annually. Set a calendar reminder to review holiday schedules at the beginning of each year.

🚀 Advanced Time-Based Routing

Beyond simple business hours, time-based routing can be used for more advanced scenarios:

🔹 Lunch Break Routing

  • Create a separate time condition for lunch hours (e.g., 12:00 PM – 1:00 PM)
  • Route to a lunch-specific IVR or voicemail
  • Reduce frustration for callers during lunch breaks

🔹 Shift-Based Routing

  • Different departments with different hours
  • Early shift vs. late shift routing
  • 24/7 operations with rotating schedules

🔹 Time-Based LCR

  • Route calls through different carriers based on time of day
  • Take advantage of cheaper international rates during off-peak hours
  • Combine with Least-Cost Routing for maximum savings

🔹 Emergency & Failover

  • If the primary destination is unavailable, route to backup
  • Automatic failover to mobile or external numbers after hours
  • Ensure critical calls are always answered

🏆 Best Practices for Time-Based Routing

✅ Design & Planning

  • Clearly define business hours and communicate them to staff
  • Document all time conditions, schedules, and routing logic
  • Test time-based routing thoroughly before going live
  • Create separate time conditions for different departments if needed

✅ Customer Experience

  • Record professional greetings for business hours, after hours, and holidays
  • Provide estimated call-back times in after-hours voicemail
  • Consider offering a callback option instead of just voicemail
  • Keep greetings updated for seasonal changes

✅ Maintenance

  • Review holiday schedules annually
  • Test time-based routing after daylight saving time changes
  • Monitor call logs to ensure proper routing
  • Update time conditions when business hours change

✅ Failover & Redundancy

  • Always configure a fallback destination for time conditions
  • Test failover scenarios regularly
  • Ensure after-hours calls reach someone (voicemail, on-call, etc.)
  • Consider multiple on-call rotations for 24/7 coverage

❓ Frequently Asked Questions

1. What is time-based routing in a phone system?

Time-based routing is a telephony feature that automatically directs incoming calls to different destinations based on the time of day, day of the week, or specific holidays. For example, during business hours calls go to the reception desk, while after hours they route to voicemail or an on-call mobile number.

2. How do I configure business hours routing in FreePBX?

In FreePBX, go to Applications → Time Conditions. Create a time condition that defines your business hours (e.g., Monday-Friday 9:00 AM to 5:00 PM). Then set the 'True' destination (during business hours) to your reception/IVR, and the 'False' destination (after hours) to voicemail or an after-hours IVR. Finally, route your inbound DIDs to this time condition.

3. What is the difference between business hours and after-hours routing?

Business hours routing directs calls to live agents, reception desks, or main IVRs during normal working hours. After-hours routing sends calls to voicemail, night bells, on-call mobile numbers, or after-hours IVRs with limited options. This ensures callers always reach the appropriate service based on when they call.

4. How do I handle holiday schedules in time-based routing?

Most PBX systems allow you to create holiday schedules that override regular time conditions. In FreePBX, you can set up holiday dates in System Admin → Holiday Dates, then reference them in time conditions. In 3CX, you can create holiday schedules in Settings → System → Schedules and apply them to inbound rules.

5. Can I use multiple time conditions for different departments?

Yes, you can create separate time conditions for each department. For example, you could have one time condition for the sales team (9-5) and another for support (8-6). Each DID can be routed through its own time condition, allowing different departments to have different business hours.

📢 Need help configuring time-based routing for your business? Let NetviaVoice design a solution.

© 2025 NetviaVoice — Time-Based Routing Experts, VoIP Solutions & Cloud Communications.

NetviaVoice provides SIP trunk services and advanced call routing solutions for businesses of all sizes.