Set SIP Settings
Configures Session Initiation Protocol (SIP) settings
- application/json
Request Body required
- enable boolean requiredDetermines whether the SIP is enabled 
- host_to_id booleanHost id 
- proxy ipv4|dns requiredSIP proxy 
- realm ipv4|dns requiredSIP realm address 
- user string requiredPossible values: non-emptyand<= 31 characters, Value must match regular expression^[0-9a-zA-Z\s~!@#$%^&;*()_-+={[}]|"<,>.?/]{1,31}?$`SIP account user name 
- password string requiredPossible values: >= 6 charactersand<= 31 characters, Value must match regular expression^[0-9a-zA-Z\s~!@#$%^&;*()_-+={[}]|"<,>.?/]{6,31}?$`SIP account user password. 'Password is an any symbol from a to z uppercase or lowercase, from 0 to 9 in digits. Available special symbols: ~`!@#$%^&;*()_-+={[}]|"<,>.?/' 
- transport stringPossible values: [ udp,tcp,tls]Secure SIP Protocol 
- user_id stringPossible values: non-emptyand<= 31 characters, Value must match regular expression^[0-9a-zA-Z\s~!@#$%^&;*()_-+={[}]|"<,>.?/]{0,31}?$`SIP user id 
- is_enable_ring_code booleanDetermines whether the ring code is enabled 
- user_agent stringUser agent Voip v2.0 
- timeout integer requiredPossible values: [ 120,300,600,1200,1800]Call timeout 
- registration_interval integerPossible values: >= 30and<= 900SIP server registration interval in seconds 
- stun object required- STUN settings ip ipv4|dns required- STUN IP address port integer required- STUN port 
- 200
- 400
- 401
OK
- Missed json body or wrong param.
Response sample:"error": "Wrong JSON body"
- Required field is not provided.
Response sample:where"error": "Wrong JSON body: no value for `param`"param- is a required field that was not provided
- Field was of the wrong type.
Response sample:where"error": "Wrong JSON body: value `param` was of the wrong type"param- is a field of the wrong type
- application/json
- Schema
- Example (from schema)
- Base
- Missed param
- Wrong param type
Schema
- error stringError information 
{
  "error": true
}
{
  "error": "Wrong JSON body"
}
{
  "error": "Wrong JSON body: no value for `param`"
}
{
  "error": "Wrong JSON body: value `param` was of the wrong type"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error stringError information 
{
  "error": "Log In"
}
{
  "error": "Log In"
}