Internal Number (/extension/)
You can test API methods on the interactive API browser page and without writing code
Some of the resources described on the page may not be available by default due to the type of application (see Creating and authorizing applications).
The internal number is the main unit of the PBX that performs a certain list of functions in accordance with the specified type. The resource is used to manage the most abstract properties of an internal number. For specific parameters of internal numbers, depending on the type, there are separate sections (for example, the /phone/ resource for internal numbers of the "phone terminal" type).
The internal number can be addressed by different types of numbers:
absolute - has the form domain_ prefix*client_ prefix*internal_number_name or client_ prefix*internal_number_name@domain_name (for example, 00500*0003*100 or 0003*100@somehost.com). You can get the client and domain prefixes from the “Client resource (/client/)”;
relative - within the same domain, the client_prefix*internal_number_name (for example, 0003*100) and just internal_number_name within the same client (for example, 100).
The option client_prefix*internal_number_name is the main one used when issuing results and receiving parameters.
Once created, the internal number cannot be renamed. It can be deleted and then created under a different name.
It is possible to combine several internal numbers into a group of internal numbers.
When you update the parameters of the extension located in Bundle - Multiple Extension Numbers for One Employee , the sync parameters (List of Sync Parameters) will also be updated on the rest of the extensions in the “bundle“
Description of data structures
Example
Creating an internal number of the 'phone' type:
System response:
{
"status": "active",
"domain": "sip.ringme.ru",
"create_date": "2020-03-16 12:11:13",
"name": "000*100",
"dial_rule_limit": null,
"extension_group_id": null,
"label": "Ivanov Peter",
"caller_id_name": null,
"client_id": 12,
"extra_params": null,
"message_did": null,
"dial_rule_id": null,
"ani_rfc3325": false,
"type": "phone",
"id": 190,
"did_as_transfer_caller_id": null,
"caller_id_group_method": "f"
}
Resources of the "Client" section
Resources of the "Internal numbers group" section
Resources of the "Internal number" section