-
-
Notifications
You must be signed in to change notification settings - Fork 90
Routing
Myng edited this page Jul 25, 2021
·
17 revisions
LibreSBC provided a powerful built-in routing engine which allows to selects an destination entities (outbound interconnection) for an inbound call based on one/multiple session criteria/variable. The Routing Engine can serve for most of use case in real life include:
- Inbound Classify
- Block Traffic
- Jumping routing plan
- Diversity routing criteria with engine variable
- Various Matching type: Longest matching prefix, Exactly match, Comparing
- Load Distribution: Fail-over, Load Balancing, Percentage Load
- Flexible by Manipulate/Translation
Parameter | Category | Description |
---|---|---|
name |
string required
|
The name of routing table |
action |
enum required
|
The action for routing, include route , block , query . Default is query route go directly to destination interconnection that defined in routes map object. block block traffic query do the query route via routing records with variable criteria. |
variable | string |
The name of engine variable that will be configure value in routing record. Applicable only action is query . |
routes | map |
Route Map Object. Applicable only action is route . |
Parameter | Category | Description |
---|---|---|
table |
string required
|
The routing table name the routing record belong to |
match |
enum required
|
The matching type that will be define criteria to select. { eq , ne , gt , lt }: compare matching em : exactly match lpm : longest prefix matching |
value |
string required
|
The value can be present by two purpose: The fixed value of variable that already defined in routing table ( lpm em ) Name of other variable for compare ( eq , ne , gt , lt ). |
action |
enum required
|
The action for routing, include route , block , query . Default is query route go directly to destination interconnection that defined in routes map object. block block traffic query do the query route via routing records with variable criteria. |
variable | string |
The name of engine variable that will be configure value in routing record. Applicable only action is query . |
routes | map |
Route Map Object. Applicable only action is route . |
- table
- match
- value
- action
- routes
- primary
- secondary
- load
Parameter | Category | Description |
---|---|---|
primary |
string required
|
The name of profile (unique) |
secondary | string |
Description |
load | string |
The value will be displayed as User-Agent in SIP header. Default is LibreSBC
|