Все SIP-trunks LiveKit-кластера (inbound + outbound). Прямой проброс без фильтрации по БД — видно и orphan'ы. Для диагностики Conflicting- ошибок и ручной чистки.
Authorization
Bearer JWT Authorization header using Bearer scheme
In: header
Response Body
application/json
curl -X GET "https://api.speaknode.com/api/Admin/livekit/sip/trunks"{
"inbound": [
{
"trunk_id": "string",
"name": "string",
"numbers": [
"string"
],
"allowed_addresses": [
"string"
],
"auth_username": "string",
"address": "string",
"destination_country": "string",
"transport": "string",
"headers_to_attributes": [
{
"header": "string",
"attribute": "string"
}
]
}
],
"outbound": [
{
"trunk_id": "string",
"name": "string",
"numbers": [
"string"
],
"allowed_addresses": [
"string"
],
"auth_username": "string",
"address": "string",
"destination_country": "string",
"transport": "string",
"headers_to_attributes": [
{
"header": "string",
"attribute": "string"
}
]
}
]
}Bring the system SIP infrastructure in LiveKit to its expected shape: the <b>Bridge Trunk</b> (inbound), the <b>Individual</b> rule with the `phone-` prefix, and the <b>Callee</b> rule used to invite live operators. All Twilio and Voximplant calls travel through them. Idempotent: existing objects are reused, only what is missing gets created. This used to be provisioned when a phone number was added — now it is an explicit admin operation, since an installation-wide singleton is not a property of a particular number. `recreate=true` deletes and recreates, for when the configuration drifted (LiveKit does not allow changing it with an update). WARNING: this interrupts inbound calls for a few seconds. Ongoing conversations are not affected. Does NOT cover trunks of Custom accounts — those are tied to one account's numbers and have their own reprovision by TelecomAccountId. POST
Previous Page
Удалить SIP-trunk по LiveKit-id (inbound или outbound — SDK не различает). Не чистит ссылки в CustomSipAccount — следующий Bind/Reprovision создаст новый. DELETE
Next Page