Quick Routes

Quick Routes is a simplified routing feature provided by SBC, enabling fast call routing configuration through prefix matching without writing full routing rule files.

1. Create a Quick Route

SBC → Routes → Quick Routes → New:

FieldDescriptionExample
NameRoute nameroute-beijing
Match PrefixCallee prefix8610
Target TrunkSIP trunk to forward tocarrier-a
Callee StripRemove first N digits from callee0
Callee PrependAdd prefix to callee(empty)
Media ModeOverride trunk defaultauto

2. Number Rewrite

Quick Routes support a number rewrite pipeline similar to Wholesale:

Original callee: 01012345678
  → strip 1:   1012345678
  → prepend 86: 861012345678
  → send to carrier-a

3. Header Manipulation

Each quick route can specify additional header operations:

{
  "header_rules": [
    { "action": "add", "name": "X-Route-Type", "value": "quick" },
    { "action": "remove", "name": "X-Internal-Token" }
  ]
}

4. Management

OperationDescription
CreateSBC → Routes → Quick Routes → New
EditClick the route name to edit
DeleteDelete by name
ReloadClick “Reload” to apply changes

Quick Routes are stored in the database, managed via API, and take effect after reload.