fix(voice-call): fail closed when Telnyx webhook public key missing

This commit is contained in:
Peter Steinberger
2026-02-14 18:13:44 +01:00
parent ff11d8793b
commit 29b587e73c
8 changed files with 75 additions and 15 deletions

View File

@@ -55,8 +55,7 @@ function resolveProvider(config: VoiceCallConfig): VoiceCallProvider {
publicKey: config.telnyx?.publicKey,
},
{
allowUnsignedWebhooks:
config.inboundPolicy === "open" || config.inboundPolicy === "disabled",
skipVerification: config.skipSignatureVerification,
},
);
case "twilio":