Get SIP Settings
Returns Session Initiation Protocol (SIP) Settings
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- proxy ipv4|dns
- realm ipv4|dns
- user string
Possible values:
non-empty
and<= 31 characters
, Value must match regular expression^[0-9a-zA-Z\s~
!@#$%^&;*()_-+={[}]|"<,>.?/]{1,31}?$` - password string
Possible values:
>= 6 characters
and<= 31 characters
, Value must match regular expression^[0-9a-zA-Z\s~
!@#$%^&;*()_-+={[}]|"<,>.?/]{6,31}?$`'Password is an any symbol from a to z uppercase or lowercase, from 0 to 9 in digits. Available special symbols: ~`!@#$%^&;*()_-+={[}]|"<,>.?/'
- transport string
Possible values: [
udp
,tcp
,tls
] - user_id string
Possible values:
non-empty
and<= 31 characters
, Value must match regular expression^[0-9a-zA-Z\s~
!@#$%^&;*()_-+={[}]|"<,>.?/]{0,31}?$` - is_enable_ring_code boolean
- enable boolean
- timeout integer
Possible values: [
120
,300
,600
,1200
,1800
] stun object
ip ipv4|dnsport integer
{
"proxy": "sip:sip.bas-ip.com",
"realm": "sip.bas-ip.com",
"user": "101",
"password": "123abc",
"transport": "udp",
"user_id": "user123",
"is_enable_ring_code": true,
"enable": true,
"timeout": 120,
"stun": {
"ip": "stun.l.google.com",
"port": 19302
}
}
{
"proxy": "sip:sip.bas-ip.com",
"realm": "sip.bas-ip.com",
"user": "101",
"password": "123abc",
"timeout": 120,
"transport": "udp",
"enable": true,
"user_id": "user123",
"is_enable_ring_code": false,
"stun": {
"ip": "stun.l.google.com",
"port": 19302
}
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
{
"error": "Log In"
}
{
"error": "Log In"
}
Loading...