SIP TN Leases
AssignTNLeasesToSIPConnection
POST
https://api.opentact.org/rest/sip/connection/{uuid}/tnlease
Assign TN Leases to SIP connection.
Path Parameters
Name
Type
Description
uuid
string
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Headers
Name
Type
Description
X-Auth-Token
string
JWT_TOKEN
Content-Type
string
application/json
Request Body
Name
Type
Description
add
string
array of strings List of TNLease uuids to be assigned
remove
string
Array of strings List of TNLease uuids to be removed
Code Example
GETSIPConnectionTNLeasesList
GET
https://api.opentact.org/rest/sip/connection/{uuid}/tnlease
Get SIP Connection assigned TNLease's
Path Parameters
Name
Type
Description
uuid
string
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Headers
Name
Type
Description
X-Auth-Token
string
JWT_TOKEN
Code Example
Last updated
Was this helpful?