call_routing_rules.save

Description

Save the order of call routing rules.

Arguments

name

required

value type

default

name

required

value type

default

groups_table

yes

array of object_ids in order of priority

none

Example Requests & Responses

Example One

Request

Save the order of call routing rules.

{     'method' => 'call_routing_rules.save',     'parameters' => {            'groups_table' => [                               '365',                               '367',                               '375',                               '378'                             ]         }

Response

{           'result' => 'success'  }

Or

{           'result' => 'error',           'error' => 'An Error String',           'error_key' => 'AN_ERROR_LANGUAGE_KEY',  }

Return to Documentation Home I Return to Sangoma Support