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
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
- registration_interval integer
Possible values:
>= 30
and<= 900
Session expire timeout in seconds
{
"proxy": "sip:sip.bas-ip.com",
"realm": "sip.bas-ip.com",
"user": "101",
"stun": {
"ip": "stun.l.google.com",
"port": 19302
},
"transport": "udp",
"user_id": "user126",
"registration_interval": 30
}
{
"proxy": "sip:sip.bas-ip.com",
"realm": "sip.bas-ip.com",
"user": "101",
"stun": {
"ip": "stun.l.google.com",
"port": 19302
},
"transport": "udp",
"user_id": "user126"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
error message
{
"error": "Log In"
}
{
"error": "Log In"
}
Loading...