/trust

Resource URI

/trust

HTTP GET

Sets and retrieves the trusted hosts that can communicate via the SIP port.

GET /trust

Method

Response Payload

JSON

{
 "trusted_addresses" : [
   "192.168.195.12",
   "192.168.195.204"
 ]
}

HTTP PUT

Modifies the trusted hosts configuration.

PUT /trust

Method Request Payload Response Payload
JSON

{
 "trusted_addresses" : [
   "192.168.195.12",
   "192.168.195.204"
 ]
}

{
 "trusted_addresses" : [
   "192.168.195.12",
   "192.168.195.204"
 ]
}