Set device SIP Settings
Set device SIP settings
- application/json
Request Body required
- proxy ipv4|dns required
SIP proxy address
- realm ipv4|dns required
SIP server address
- user string required
Possible values:
non-empty
and<= 31 characters
User number
- password string required
Possible values:
non-empty
and<= 31 characters
Password used for authentication on SIP server
stun object required
STUN server settings
ip ipv4|dns requiredSTUN server address
port integer requiredSTUN server port
- registration_interval number
Possible values:
>= 30
and<= 900
For what period of time device stays registered on SIP server, re-registration happens 6 seconds before expiration time
- h264 integer required
Possible values:
>= 99
and<= 127
Default value:
102
h.264 payload type
- transport string
Possible values: [
udp
,tcp
,tls
]Which protocol should be used
- 200
- 400
- 401
OK
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error object
Describes the base error user might get
code stringPossible values: [
invalid_authentication
,permission_denied
,not_valid
,system_error
]Error code
message stringError message
data object
Did not pass validation parameters. Can be represented as an object, which can include field names, arrays, query parameters etc.
param stringDescribes the parameter that did not pass a validation
{
"error": {
"code": "not_valid",
"message": "Data validation error",
"data": {
"param": "must be an string"
}
}
}
Please log in
- application/json
- Schema
- Example (from schema)
- Example
Schema
error object
Describes the base error user might get
code stringPossible values: [
invalid_authentication
,permission_denied
,not_valid
,system_error
]Error code
message stringError message
data object
Did not pass validation parameters. Can be represented as an object, which can include field names, arrays, query parameters etc.
param stringDescribes the parameter that did not pass a validation
{
"error": {
"code": "not_valid",
"message": "Data validation error",
"data": {
"param": "must be an string"
}
}
}
{
"error": {
"code": "invalid_authentication",
"message": "Log In"
}
}