End of Life Products and Features - call_routing_rule.list
Description
Fetch one call routing rule.
Arguments
name | value type | required |
---|---|---|
object_name | the 'name' parameter of a sip endpoint object | yes, if no object_id specified |
object_id | integer representing the auto-increment field from the database | yes, if no object_name specified |
Example Requests & Responses
Example One
Request
Fetch one call routing rule.
{
'method' => 'call_routing_rule.list',
'parameters' => {
'object_id' => '365'
} |
Response
NOTE: call_throughs array and call_origin parameter will be the object_id of the object to match on, or in the case of a single T1 channel, a string in the format "port-x-channel-x".
'call_routing_rule' => {
'rule_name' => 'port 1 to erins gateway',
'simple_mode' => '1',
'call_origin' => '3',
'match_everything' => '1',
'call_throughs' => [
'200'
],
'order' => '1',
}, |
Related content
End of Life Products and Features - call_routing_rules.list
End of Life Products and Features - call_routing_rules.list
More like this
End of Life Products and Features - call_routing_rule.save
End of Life Products and Features - call_routing_rule.save
More like this
End of Life Products and Features - call_routing_groups.list
End of Life Products and Features - call_routing_groups.list
More like this
End of Life Products and Features - Routing Rules
End of Life Products and Features - Routing Rules
More like this
End of Life Products and Features - call_routing_group.save
End of Life Products and Features - call_routing_group.save
More like this
End of Life Products and Features - sip_endpoints.list
End of Life Products and Features - sip_endpoints.list
More like this