Outbound rules
Was this helpful?
Was this helpful?
Retrieve a collection of outbound rules.
/outbound_rules
Use the filter
query parameter to retrieve just a subset of a collection.
Use the search
query parameter to restrict the results of a request to match a search criterion.
Use the orderby
query parameter to specify the sort order of the items returned from server.
The default order is ascending order.
Use the skip
query parameter to set the number of items to skip at the start of a collection.
Use the top
query parameter to specify the page size of the result set.
Add a new outbound rule.
/outbound_rules
The name of outbound rule.
Prefix of callee ID. Calls started with this prefix will be applied this outbound rule.
The length of number prefix.
A semicolon-separated list of integer.
For example by specifying "1;2", calls with a caller ID of 1 or 2 digits will be applied this rule.
Extension who starts the call. A semicolon-separated list of extensions allowed. For example by specifying "101-110;199", extensions from 101 to 110 and 199 will be applied this rule.
Whether to enable outbound rule.
The priority of outbound rule.
Routing strategy:
Can be either:
PRIORITIZED
: Selected according to the priority order of the route list.RANDOMLY
: Randomly select one of the route list.PRIORITIZED
, RANDOMLY
The unique ID of holiday.
Update properties of outbound rule by it's unique ID.
/outbound_rules/{id}
The unique ID of outbound rule.
The unique ID of the resource.
The name of outbound rule.
Prefix of callee ID. Calls started with this prefix will be applied this outbound rule.
The length of number prefix.
A semicolon-separated list of integer.
For example by specifying "1;2", calls with a caller ID of 1 or 2 digits will be applied this rule.
Extension who starts the call. A semicolon-separated list of extensions allowed. For example by specifying "101-110;199", extensions from 101 to 110 and 199 will be applied this rule.
Whether to enable outbound rule.
The priority of outbound rule.
Routing strategy:
Can be either:
PRIORITIZED
: Selected according to the priority order of the route list.RANDOMLY
: Randomly select one of the route list.PRIORITIZED
, RANDOMLY
The unique ID of outbound rule.
The unique ID of the resource.
The unique ID of holiday.
No body