Get SIP Settings
Returns settings needed to configure calls with SIP
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- proxy ipv4|dns
Possible values:
non-empty
and<= 63 characters
proxy for sip
- realm ipv4|dns
Possible values:
non-empty
and<= 31 characters
sip realm
- user string
Possible values:
non-empty
and<= 31 characters
user sip number
- password string
Possible values:
non-empty
and<= 31 characters
sip user password
stun object
stun server
ip ipv4|dnsserver address
port integerserver port
- transport string
Possible values: [
udp
,tcp
,tls
]Default value:
udp
protocol 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
{
"proxy": "sip:sip.bas-ip.com",
"realm": "sip.bas-ip.com",
"user": "101",
"password": "123abc",
"stun": {
"ip": "stun.l.google.com",
"port": 19302
},
"transport": "udp",
"user_id": "user126"
}
{
"proxy": "sip:sip.bas-ip.com",
"realm": "sip.bas-ip.com",
"user": "101",
"password": "123abc",
"stun": {
"ip": "stun.l.google.com",
"port": 19302
},
"transport": "udp",
"user_id": "user126"
}
Log In
- application/json
- Schema
- Example (from schema)
- Example
Schema
- error string
error message
{
"error": "Log In"
}
{
"error": "Log In"
}
Loading...