How to pass media_encryption to createSipInboundTr...
# ask-ai
a
How to pass media_encryption to createSipInboundTrunk on the node verison of livekit sdk
t
Thanks for reaching out, Cesar. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
It seems that the
createSipInboundTrunk
method in the Node version of the LiveKit SDK does not include a
media_encryption
parameter in its
CreateSipInboundTrunkOptions
interface. The available options include parameters like
allowedAddresses
,
authPassword
,
headers
, and others, but
media_encryption
is not listed. If you believe this parameter should exist or have further questions about its implementation, please let me know, and I can assist further or escalate the issue for clarification. Sources: CreateSipInboundTrunkOptions | LiveKit JS Server SDK - v2.9.7
a
It should be there, as it is offered in the documentation as a .json option
t
Thank you for pointing that out. While the
media_encryption
parameter is documented for other methods like
CreateSIPOutboundTrunk
, it is not explicitly listed in the
CreateSipInboundTrunkOptions
interface for the Node version of the LiveKit SDK based on the available documentation. If you are certain it should be supported, it might be worth verifying the SDK version you are using or checking for updates. Alternatively, I can escalate this issue to confirm whether this parameter is supported for
createSipInboundTrunk
. Please let me know how you'd like to proceed. Sources: SIP APIs | LiveKit Docs
a
escalate to confirm.
t
I'm sorry, but I don't have the information you need at the moment. If you would like a member of the LiveKit team to respond, please ask your question in one of the other channels.
a
does the updateSipTrunk has it?