I am using the livekit cloud and I have created a SIP Inbound trunk to accept requests only from specific IP addresses. The relevant piece of code looks like the below
const trunkOptions = {
allowedAddresses: [A.B.C.D]
} as CreateSipInboundTrunkOptions
try {
const trunk = await sipClient.createSipInboundTrunk(
name,
numbers,
trunkOptions
);
return trunk
} catch (e) {
logger.error("Failed to create livekit sip trunk", e);
}
Inbound calls do not succeed and in the telephony logs, I get "call was not authorized by trunk configuration".
Any ideas on why this doesn't work?
I am using the livekit cloud and I have created a SIP Inbound trunk to accept requests only from specific IP addresses. The relevant piece of code looks like the below
Inbound calls do not succeed and in the telephony logs, I get "call was not authorized by trunk configuration".
Any ideas on why this doesn't work?