This API is used to get Intercom > SIP Account parameter range.
| Parameter | Range | Type | Description |
| channel | "CH1"…"CHx" | string array | The channels supported by the device. |
Sample:
POST /API/Intercom/SIPAccount/Range HTTP/1.1
{
"version": "1.0",
"data": {}
}
| Parameter | Range | Type | Description |
| channel_info | | object | Total channel information see Table 3. |
| channel_max | | int | The maximum number of channels. |
| Parameter | Range | Type | Description |
| CH1…CHx | | object | See Table 4 |
| Parameter | Range | Type | Description |
| account_list | | object | 参见 Table 5 |
| Parameter | Range | Type | Description |
| active | | bool | Active |
| settings | | bool | Settings |
| name | 0-127 | string | Name |
| user_id | 0-127 | string | User ID |
| domain | 0-127 | string | Domain |
| authentication_id | 0-127 | string | Authentication ID |
| caller_id | 0-127 | string | Caller ID |
| transport_mode | "UDP",TCP","TLS" | string | Transport mode |
| status | "Unavailable","Available" | string | Status |
| password | 0-127 | string | Password |
| password_empty | | bool | Is the password empty |
Sample:
HTTP/1.1 200 OK
Content-Type: application/json
{
"result": "success",
"data": {
"channel_max": 1,
"channel_info": {
"type": "object",
"items": {"CH1": {
"type": "object",
"items": {"account_list": {
"type": "array",
"min_size": 0,
"max_size": 8,
"items": {
"active": {"type": "bool"},
"settings": {"type": "bool"},
"name": {
"type": "string",
"min_len": 0,
"max_len": 127
},
"user_id": {
"type": "string",
"min_len": 0,
"max_len": 127
},
"domain": {
"type": "string",
"min_len": 0,
"max_len": 127
},
"password": {
"type": "string",
"min_len": 0,
"max_len": 127
},
"password_empty": {"type": "bool"},
"authentication_id": {
"type": "string",
"min_len": 0,
"max_len": 127
},
"caller_id": {
"type": "string",
"min_len": 0,
"max_len": 127
},
"transport_mode": {
"type": "string",
"items": [
"UDP",
"TCP",
"TLS"
]
},
"status": {
"type": "string",
"mode": "r",
"items": [
"Unavailable",
"Available"
]
}
}
}}
}}
}
}
}
See Response Messages Body and Common error_code for more information.