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:
| Field | Description | Example |
|---|---|---|
| Name | Route name | route-beijing |
| Match Prefix | Callee prefix | 8610 |
| Target Trunk | SIP trunk to forward to | carrier-a |
| Callee Strip | Remove first N digits from callee | 0 |
| Callee Prepend | Add prefix to callee | (empty) |
| Media Mode | Override trunk default | auto |
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
| Operation | Description |
|---|---|
| Create | SBC → Routes → Quick Routes → New |
| Edit | Click the route name to edit |
| Delete | Delete by name |
| Reload | Click “Reload” to apply changes |
Quick Routes are stored in the database, managed via API, and take effect after reload.