Set SIP Settings
Set SIP Settings
- application/json
Request Body required
- proxy ipv4|dns required
Possible values:
non-emptyand<= 63 charactersproxy for sip
- outbound ipv4|dns
Possible values:
non-emptyand<= 63 charactersoutbound proxy for sip | this parameter is optional and is needed only in cases when proxy and sip server are different machines
- realm ipv4|dns required
Possible values:
non-emptyand<= 31 characterssip realm
- user string required
Possible values:
non-emptyand<= 31 charactersuser sip number
- password string required
Possible values:
non-emptyand<= 31 characterssip user password
stun object required
stun server
ip ipv4|dnsserver address
port integerserver port
- transport string
Possible values: [
udp,tcp,tls]Default value:
udpprotocol used for sip
- user_id string
Possible values:
<= 31 characters, Value must match regular expression^[0-9a-zA-Z\s~!@#$%^&;*()_-+={[}]|"<,>.?/]{0,31}?$`id of the sip user
- registration_interval integer
Possible values:
>= 30and<= 900Default value:
30registration time on sip server in seconds (This parameter may not always represent the real registration interval as at most times sip server settings come at first priority)
- 200
- 400
- 401
OK
Wrong JSON body
- application/json
- Schema
- Example (from schema)
- Example
Schema
- error string
error type/info
{
"error": "Wrong JSON body"
}
{
"error": "Wrong JSON body"
}
Log In
- application/json
- Schema
- Example (from schema)
- Example-1
Schema
- error string
error message
{
"error": "Log In"
}
{
"error": "Log In"
}