Sbc
Retrieve settings for SBC.
Authorizations
Responses
200
OK
application/json
4XX
Error
get
GET /api/sbc HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"domain": "text",
"http_port": 8882,
"https_port": 8883,
"transports": [
{
"protocol": "UDP",
"port": 80
}
]
}
Update SBC configuration.
Authorizations
Body
domainstringOptional
The SBC domain.
http_portall ofOptionalDefault:
The SBC web port for http.
8882
integer · int32 · max: 65535OptionalExample:
A port number is a 16-bit unsigned integer, thus ranging from 0 to 65535. For TCP, port number 0 is reserved and cannot be used, while for UDP, the source port is optional and a value of zero means no port
80
https_portall ofOptionalDefault:
The SBC web port fot https.
8883
integer · int32 · max: 65535OptionalExample:
A port number is a 16-bit unsigned integer, thus ranging from 0 to 65535. For TCP, port number 0 is reserved and cannot be used, while for UDP, the source port is optional and a value of zero means no port
80
Responses
200
OK
4XX
Error
post
POST /api/sbc HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 96
{
"domain": "text",
"http_port": 8882,
"https_port": 8883,
"transports": [
{
"protocol": "UDP",
"port": 80
}
]
}
No content