security(voice-call): detect Telnyx webhook replay

This commit is contained in:
Brian Mendonca
2026-02-24 14:42:00 -07:00
committed by Peter Steinberger
parent 53f9b7d4e7
commit a3c4f56b0b
4 changed files with 80 additions and 3 deletions

View File

@@ -87,7 +87,7 @@ export class TelnyxProvider implements VoiceCallProvider {
skipVerification: this.options.skipVerification,
});
return { ok: result.ok, reason: result.reason };
return { ok: result.ok, reason: result.reason, isReplay: result.isReplay };
}
/**