π Domestic and International Call Routing: Complete Guide
Summary: Call routing is the backbone of business telephony, determining how every call reaches its destinationβwhether across the street or across the ocean. This comprehensive guide covers domestic and international call routing: dial plans, country code formats, least-cost routing, carrier selection, and step-by-step configuration for FreePBX and 3CX. Learn how to optimize global call delivery, reduce costs by 30-65%, and ensure reliable connectivity for your business communications.
π Table of Contents
π What is Call Routing?
Call routing is the process of directing a phone call from its origin to its destination based on a set of rules and conditions. It's the mechanism that determines which trunk, carrier, or endpoint handles each call, ensuring it reaches the right person or system efficiently.
In modern VoIP systems, call routing is more sophisticated than ever. It can consider factors like the dialed number, caller ID, time of day, carrier rates, and network conditions to make real-time routing decisions. This intelligence enables businesses to optimize costs, improve call quality, and enhance customer experience.
β What Call Routing Does
- Directs Inbound Calls: Routes incoming calls to the right extension, IVR, or queue
- Manages Outbound Calls: Selects the best trunk or carrier for each call
- Optimizes Costs: Chooses the cheapest route while maintaining quality
- Ensures Reliability: Fails over to backup routes if primary fails
- Enforces Compliance: Routes calls according to regulatory requirements
β οΈ The Cost of Poor Routing
- Wasted Spend: Paying premium rates for calls that could be cheaper
- Poor Call Quality: Routing through suboptimal carriers
- Dropped Calls: No failover when primary routes fail
- Compliance Risk: Failure to meet regulatory requirements
Businesses save 25% to 65% on voice spending with optimized call routing
π Domestic Call Routing
Domestic call routing handles calls within a single country. It uses local dial plans and area codes to direct calls to the appropriate destination. While simpler than international routing, domestic routing still requires careful configuration for optimal cost and quality.
πΉ Key Components of Domestic Routing
- 1 Area Code Recognition: Identifies the destination region based on the area code (NPA)
- 2 Local vs Long-Distance: Distinguishes between local calls (often free or flat-rate) and long-distance calls
- 3 Carrier Selection: Chooses the best carrier for each call type (local, long-distance, toll-free)
- 4 Emergency Routing: Ensures 911 and emergency calls route correctly
- 5 Number Portability: Handles ported numbers that may have moved between carriers
π Domestic Dial Patterns
| Call Type | Dial Pattern Example (US) | Description |
|---|---|---|
| Local 7-digit | NXXNXXXXXX | 7-digit local number (area code implied) |
| Local 10-digit | NXXNXXXXXX | 10-digit number with area code |
| Long-Distance | 1NXXNXXXXXX | 1 + area code + 7-digit number |
| Toll-Free | 1800XXXXXXX | 800, 888, 877, 866, 855, 844, 833 numbers |
| Emergency | 911, 411, 311 | Emergency and service numbers |
π Need Help Optimizing Your Call Routing? NetviaVoice Can Help
Our VoIP specialists can help you design and implement efficient domestic and international routing strategiesβreducing costs while improving call quality.
Visit NetviaVoiceπ International Call Routing
International call routing manages calls between countries. It's significantly more complex than domestic routing due to varying dial plans, regulatory requirements, and carrier agreements across borders.
πΉ Key Components of International Routing
- 1 Country Code Recognition: Identifies the destination country from the country code (CC)
- 2 International Prefix Handling: Manages different international prefixes (00, 011, 0011)
- 3 Carrier Selection: Chooses the best international carrier for each destination
- 4 Regulatory Compliance: Ensures calls comply with destination country regulations
- 5 Number Format Conversion: Converts between E.164 and local formats
π International Dialing Format
πΉ Standard International Format
International Prefix + Country Code + Area/City Code + Local Number
- International Prefix: 00 (Europe/Asia), 011 (North America), 0011 (Australia)
- Country Code: 1-3 digits (e.g., 44 for UK, 91 for India, 81 for Japan)
- Area/City Code: Varies by country (e.g., 20 for London, 22 for Mumbai)
- Local Number: Remaining digits
Example: Calling London from the US: 011 + 44 + 20 + 1234 5678
π Dial Plans & Number Formats
A dial plan is a set of rules that determines how dialed digits are interpreted and routed. It's the foundation of effective call routing.
πΉ What a Dial Plan Defines
- Pattern Matching: Which digit patterns are valid
- Route Selection: Which trunk or carrier to use
- Digit Manipulation: How to add, remove, or transform digits
- Time-Based Rules: Different routes based on time of day
- Failover: Backup routes if primary fails
πΉ Common Dial Plan Elements
- X: Any digit 0-9
- N: Any digit 2-9
- Z: Any digit 1-9
- .: Wildcard (matches one or more digits)
- |: Separates multiple patterns
- ! Immediate match
π Country Code Formats
Understanding country codes is essential for international routing. Here's a reference table for key markets:
| Country | Country Code | International Prefix | Example (from US) |
|---|---|---|---|
| United Kingdom | +44 | 00 | 011 44 20 1234 5678 |
| Germany | +49 | 00 | 011 49 30 1234 5678 |
| France | +33 | 00 | 011 33 1 23 45 67 89 |
| India | +91 | 00 | 011 91 22 1234 5678 |
| Japan | +81 | 010 | 011 81 3 1234 5678 |
| Australia | +61 | 0011 | 011 61 2 1234 5678 |
| Brazil | +55 | 00 | 011 55 11 1234 5678 |
| Mexico | +52 | 00 | 011 52 55 1234 5678 |
| Singapore | +65 | 001 | 011 65 1234 5678 |
| UAE | +971 | 00 | 011 971 4 123 4567 |
π‘ Pro Tip: Store numbers in E.164 format (+[country code][number]) in your PBX. This eliminates ambiguity and simplifies routing. For example, +442012345678 for London.
π° Least-Cost Routing (LCR)
Least-Cost Routing (LCR) automatically selects the most cost-effective carrier for each outbound call. For international calls, LCR is essential for managing costs across multiple destinations.
| Destination | Carrier A | Carrier B | Carrier C | LCR Selects |
|---|---|---|---|---|
| UK Mobile | $0.025/min | $0.030/min | $0.022/min | Carrier C |
| India Mobile | $0.018/min | $0.015/min | $0.020/min | Carrier B |
| Germany Landline | $0.012/min | $0.010/min | $0.014/min | Carrier B |
| Japan Mobile | $0.035/min | $0.040/min | $0.032/min | Carrier C |
| Brazil Mobile | $0.045/min | $0.050/min | $0.042/min | Carrier C |
β οΈ Important: LCR should balance cost with quality. The cheapest carrier isn't always the bestβconsider ASR (Answer Seizure Ratio) and MOS (Mean Opinion Score) alongside price.
π οΈ Step-by-Step Configuration
π€ FreePBX Configuration
- 1 Go to Connectivity β Outbound Routes
- 2 Create a new route for Domestic Calls:
- Route Name: "Domestic β US"
- Dial Patterns: 1NXXNXXXXXX (long-distance), NXXNXXXXXX (local)
- Trunk Sequence: Select domestic carrier trunk(s)
- 3 Create a new route for International Calls:
- Route Name: "International"
- Dial Patterns: 011. (all international calls)
- Trunk Sequence: Select international carrier trunk(s)
- 4 Create a new route for Emergency Calls:
- Dial Patterns: 911, 411, 311
- Trunk Sequence: Select primary trunk(s)
- 5 Click Submit and Apply Config
π€ 3CX Configuration
- 1 Go to Voice & Chat β Outbound Rules
- 2 Create a new rule for Domestic Calls:
- Rule Name: "Domestic"
- Dial Codes: Configure prefixes for domestic calls
- Trunk: Select domestic trunk
- 3 Create a new rule for International Calls:
- Rule Name: "International"
- Dial Codes: 00 (or 011)
- Trunk: Select international trunk
- 4 Set priority order (drag to reorder)
- 5 Click OK to save
β οΈ Common Challenges & Solutions
| Challenge | Solution |
|---|---|
| International calls fail | Verify dial patterns include international prefix (011, 00). Check carrier supports the destination. |
| High international costs | Implement least-cost routing with multiple carriers. Review rates quarterly. |
| Call quality issues on international calls | Choose carriers with good ASR and MOS. Use G.729 codec for bandwidth-constrained routes. |
| Country code recognition fails | Ensure dial plans include all country code lengths (1-3 digits). Use E.164 format. |
| Time zone issues | Configure time-based routing to account for destination time zones. |
π Best Practices for Domestic & International Routing
β Dial Plan Design
- Use E.164 format for all number storage
- Create separate routes for domestic, international, and emergency
- Include all country code lengths in patterns
- Test thoroughly before deployment
β Cost Optimization
- Implement least-cost routing with multiple carriers
- Review carrier rates quarterly
- Block high-cost destinations by default
- Monitor international call patterns
β Quality Assurance
- Monitor ASR, PDD, and MOS for each carrier
- Set quality thresholds for carrier selection
- Test call quality to key destinations
- Use appropriate codecs for each route
β Reliability
- Configure failover for all critical routes
- Use multiple carriers for redundancy
- Test failover scenarios regularly
- Monitor trunk health continuously
β Frequently Asked Questions
Domestic call routing handles calls within a single country, typically using local dial plans and area codes. International call routing manages calls between countries, requiring country code recognition, international carrier selection, and compliance with cross-border regulations. International routing is more complex due to varying dial plans, regulations, and carrier agreements.
A dial plan is a set of rules that determines how dialed digits are interpreted and routed. It defines patterns for local, long-distance, and international calls, and specifies which trunk or carrier to use for each pattern. A well-designed dial plan ensures calls reach the correct destination efficiently and cost-effectively.
Least-cost routing (LCR) for international calls compares rates from multiple carriers for each destination country and selects the cheapest option. It considers factors like per-minute rates, call quality, and carrier reliability. LCR can reduce international calling costs by 30-65% while maintaining acceptable quality.
International dialing uses the format: International Prefix + Country Code + Area/City Code + Local Number. Common international prefixes include 00 (Europe, Asia), 011 (North America), and 0011 (Australia). For example, calling the UK from the US: 011 + 44 + 20 + local number.
In FreePBX, create separate outbound routes for domestic and international calls. Define dial patterns (e.g., 1NXXNXXXXXX for US domestic, 011. for international) and assign trunks in priority order. In 3CX, use Outbound Rules with appropriate dial codes and trunk assignments. Always test thoroughly before deployment.
π Related Articles & Resources (NetviaVoice)
Explore more guides to optimize your business communications:
β¨ For personalized assistance with domestic and international call routing, VoIP setup, or cost optimization, visit our Services page or contact our team directly.
π’ Ready to optimize your domestic and international call routing? Let NetviaVoice help you design the right strategy.