This resource is designed to create and manage domains and their aliases.
Table of Contents | ||||
---|---|---|---|---|
|
Because the PBX platform is multi-domain, the domain name is a meaningful part of the full extension name. The fully qualified extension name consists of the client prefix, extension number, and domain, and has the following format:
...
Name | Type | Description | Required | Default value |
---|---|---|---|---|
|
| Domain name. Cannot be changed after the domain has been created. |
| |
|
| Unique domain prefix, must be a string of 5 digits. The domain prefix can be used for client calls from different domains to each other. For such call, dial a number in the format domain_prefix*client_prefix*extension_number |
| |
|
| Comment |
| null |
|
| Unique domain id. Read only. | - | - |
Anchor | ||||
---|---|---|---|---|
|
...
Name | Type | Description | Required | Default value |
---|---|---|---|---|
|
| A domain alias, which can be in the “From” field in place of the domain. Can be a domain IP address. |
| |
|
| Comment |
| null |
|
| Unique domain alias id. Read only. | - | - |
Anchor | ||||
---|---|---|---|---|
|
...
Name | Type | Description | Required | Default value |
---|---|---|---|---|
|
| IP address, requests from which will be considered related to this domain. |
| |
|
| Comment |
| null |
|
| Unique domain Force Source id. Read only. | - | - |
Anchor | ||||
---|---|---|---|---|
|
...
Name | Type | Description | Required | Default value |
---|---|---|---|---|
|
| The IP address in the “From” field that will map the request to this domain. |
| |
|
| Comment |
| null |
|
| Unique domain Force Destination id. Read only. | - | - |
Resources section "Admin"
POST /admin/domain/
Add Create a new domain
JSON params
...
PUT /admin/domain/{domain_id}
Update a domain
URL parameters
Name | Type |
---|---|
|
|
...
GET /admin/domain/{domain_id}
Get a domain by its id
URL parameters
...
DELETE /admin/domain/{domain_id}
Delete a domain
URL parameters
Name | Type |
---|---|
|
|
...
POST /admin/domain/{domain_id}/alias/
Add a domain alias
URL parameters
...
GET /admin/domain/{domain_id}/alias/
Get a list of the domain aliases
URL parameters
...
PUT /admin/domain/{domain_id}/alias/{id}
Update a domain alias
URL parameters
...
GET /admin/domain/{domain_id}/alias/{id}
Get a domain alias by its id
URL parameters
...
DELETE /admin/domain/{domain_id}/alias/{id}
Delete a domain alias
URL parameters
...
POST /admin/domain/{domain_id}/force_src/
Add a domain force source
URL parameters
...
GET /admin/domain/{domain_id}/force_src/
Get a list of domain force source
...
PUT /admin/domain/{domain_id}/force_src/{id}
Update a domain force source
URL parameters
...
GET /admin/domain/{domain_id}/force_src/{id}
Get a domain force source
URL parameters
...
DELETE /admin/domain/{domain_id}/force_src/{id}
Delete a domain force source
URL parameters
...
POST /admin/domain/{domain_id}/force_dst/
Add a domain force destination
URL parameters
...
PUT /admin/domain/{domain_id}/force_dst/{id}
Update a domain force destination
URL parameters
...
GET /admin/domain/{domain_id}/force_dst/{id}
Get a domain force destination
URL parameters
...
DELETE /admin/domain/{domain_id}/force_dst/{id}
Delete a domain force destination
URL parameters
...