← Back to Documentation Index

FlexPBX Dialplan Guide

FlexPBX Dialplan Guide

Updated: 2025-10-13
Outbound Prefix: 09


📞 Outbound Dialing

Standard Outbound Calls (Using 09 Prefix)

Format: 09 + Phone Number






International Dialing

Format: 09 + 011 + Country Code + Number






Service Codes

Format: 09 + Service Code





Emergency Calls

Format: 911 (NO PREFIX NEEDED!)





⚠️ IMPORTANT: Emergency calls (911) work WITHOUT the 09 prefix for safety!


📱 Internal Dialing (NO PREFIX)

Extensions


Format: Just dial the extension number






Special Codes










🔧 Dialplan Configuration

How It Works


  • You dial: 093364626141

  • PBX strips: 09 prefix

  • PBX adds: 1 for North America

  • Sends to trunk: 13364626141

  • Callcentric dials: +1-336-462-6141
  • Pattern Matching (Asterisk Format)

    _09NXXNXXXXXX    = 09 + 10-digit (3364626141)
    _091NXXNXXXXXX = 09 + 1 + 10-digit (13364626141)
    _09011X. = 09 + 011 + international
    _09[2-9]11 = 09 + service codes (411, 611)
    _911 = Emergency (no prefix)

    Legend:








    ExampleWhat You DialWhat Gets CalledDescription
    ------------------------------------------------------
    US Local093364626141+1-336-462-614109 + 10-digit number
    US/Canada095551234567+1-555-123-456709 + 10-digit number
    With 1 prefix0915551234567+1-555-123-456709 + 1 + 10-digit
    Toll-free098001234567+1-800-123-456709 + 10-digit toll-free
    DestinationExampleDescription
    -----------------------------------
    UK0901144201234567809 + 011 + 44 + number
    Mexico090115255512345609 + 011 + 52 + number
    Japan090118131234567809 + 011 + 81 + number
    Australia0901161234567809 + 011 + 61 + number
    ServiceWhat You DialDescription
    ------------------------------------
    Directory09411Directory assistance
    Operator090Operator assistance
    Information09611General information
    EmergencyWhat You DialDescription
    --------------------------------------
    Emergency911Direct 911 (bypasses prefix)
    Police911Emergency services
    Fire911Emergency services
    RangeDescriptionExample
    -----------------------------
    1000-1009Sales DepartmentDial 1001
    2000-2009Support DepartmentDial 2001
    8000-8009Conference RoomsDial 8000
    101-199IVR MenusDial 101
    CodeFunctionDescription
    -----------------------------
    *97VoicemailAccess your voicemail
    9196Echo TestHear yourself (audio test)
    *60Time/DateHear current time
    *78DND OnEnable Do Not Disturb
    *79DND OffDisable Do Not Disturb
    *72Call Forward OnEnable call forwarding
    *73Call Forward OffDisable call forwarding
    PrefixUse Case
    ------------------
    09Current (your preference)
    9Traditional PBX style
    00International style
    8Alternative
    NoneDirect dial (10 digits)

    To Add New Dial Pattern

    Edit: config/callcentric-trunk-config.json

    Add to dialpatterns.outbound:

    {
    "pattern": "_09XXXXXXX",
    "strip": "09",
    "prepend": "",
    "description": "Your custom pattern"
    }

    📊 Dialplan Flowchart

    User Dials Number
    |
    v
    Starts with 09?
    / \
    YES NO
    | |
    v v
    Outbound Internal?
    Call / \
    | YES NO
    v | |
    Strip 09 Route Error
    | Internally
    v |
    Add 1 if Ring
    needed Extension
    |
    v
    Send to
    Callcentric
    |
    v
    Call
    Connects!

    🔐 Security & Fraud Prevention

    Restrictions


  • 09 prefix required - prevents accidental international dialing

  • Emergency always works - 911 doesn't need prefix

  • Internal calls free - no charges for extension-to-extension

  • Channel limits - max 2 concurrent calls
  • Best Practices


  • Don't share extension passwords

  • Monitor call logs regularly

  • Review channel usage

  • Set per-extension outbound permissions (coming soon)

  • 📞 Quick Dial Reference Card

    Print this for your desk!

    ┌─────────────────────────────────────┐
    │ FLEXPBX QUICK DIAL GUIDE │
    ├─────────────────────────────────────┤
    │ OUTBOUND (via Callcentric): │
    │ • US/Canada: 09 + 10-digit │
    │ Example: 093364626141 │
    │ │
    │ • International: 09 + 011 + number │
    │ Example: 09011442012345678 │
    │ │
    │ • Emergency: 911 (no prefix!) │
    │ │
    │ INTERNAL (free): │
    │ • Extensions: Just dial number │
    │ Sales: 1000-1009 │
    │ Support: 2000-2009 │
    │ Conferences: 8000-8009 │
    │ │
    │ • IVR Menu: 101 │
    │ • Voicemail: *97 │
    │ • Echo Test: 9196 │
    │ │
    │ Your Extension: _ │
    │ Password: _ │
    └─────────────────────────────────────┘

    🛠️ Troubleshooting

    "Cannot Complete Call"


    Check:
  • Did you use 09 prefix? ✓

  • Is number valid? ✓

  • Trunk registered? Check Trunks Manager

  • Channels available? Check Channels tab
  • "Fast Busy Signal"


    Possible causes:
  • Invalid dialplan pattern

  • Trunk not registered

  • All channels in use

  • Invalid destination number
  • "No Audio"


    Check:
  • Firewall: UDP 10000-20000

  • NAT settings

  • Codec compatibility

  • Run echo test (9196)

  • 📚 Additional Resources


  • Trunks Manager: https://flexpbx.devinecreations.net/admin/trunks-dids-manager.html

  • Call Logs: Check for dial pattern issues

  • Asterisk Patterns: [Asterisk Dialplan Documentation]



  • Summary: Dial 09 + phone number for outbound calls via Callcentric!

    Your Chicago DID: (312) 313-9555
    Test Extension: 2001 (techsupport1 / Support2001!)