Update SIP Connections

Update SIP connection

PATCH https://api.opentact.org/rest/sip/connection/uuid

This api is used to update the sip connections

Query Parameters

NameTypeDescription

Name*

String

This field contains a user-assigned name to help and manage the application

IP*

Number

This field contain the remote sip server IP

Port*

Number

This field contain the remote sip server port

UUID*

String

To update the sip connection, we need to add a sip connection UUID on this field.

Is_active

Boolean

This field should have boolean function, one is true or false.

shaken_verify_policy

Number

This field contain four number type 0-do not check identity

1- Block if no identity

2- block if identity is not valid

3- Bypass verification failures

shaken_minimum_accepted_attest_lvl

String

This field contain three level C,B,A

Headers

NameTypeDescription

Authorization*

String

JWT_Token

Content-Type

String

Application/json

{
  "success": true,
  "payload": {
    "created_on": "2022-10-24T05:58:23.882Z",
    "modified_on": "2022-10-24T05:58:23.882Z",
    "uuid": "e974a0e0-299c-427c-b924-32af9df560c2",
    "name": "sc",
    "is_active": true,
    "ip": "127.0.0.1",
    "port": 5060,
    "tech_prefix": 12345,
    "shaken_minimum_accepted_attest_lvl": "C"
  }
}

Last updated