End of Life Products and Features - call_routing_rules.list
Description
Fetch a list of all call routing rules.
Arguments
None.
Example Requests & Responses
Example One
Request
Fetch a list of all call routing rules.
{
'method' => 'call_routing_rules.list',
'parameters' => { }
} |
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_rules' => [
{
'rule_name' => 'port 1 to erins gateway',
'simple_mode' => '1',
'call_origin' => '3', // or 'port-1-channel-4'
'match_everything' => '1',
'call_throughs' => [
'200' // or 'port-1-channel-4'
],
'order' => '1',
},
{
'rule_name' => 'port2 to 6001',
'simple_mode' => '0',
'call_origin' => '4',
'cid_name' => 'Digium',
'trim' => '1',
'match_everything' => '0',
'call_throughs' => [
'211'
],
'prepend' => '256',
'num_begins' => '9',
'num_length_start' => '7',
'order' => '2',
'num_length_end' => '7'
}
], |
Related content
End of Life Products and Features - call_routing_rule.list
End of Life Products and Features - call_routing_rule.list
More like this
End of Life Products and Features - call_routing_rules.save
End of Life Products and Features - call_routing_rules.save
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 - call_routing_group.save
End of Life Products and Features - call_routing_group.save
More like this
End of Life Products and Features - connection_status.list
End of Life Products and Features - connection_status.list
More like this