refactor: move inbound config

This commit is contained in:
Peter Steinberger
2025-12-24 00:22:52 +00:00
parent 5e07400cd1
commit 93af424ce5
34 changed files with 283 additions and 243 deletions

View File

@@ -38,7 +38,7 @@ describe("transcribeInboundAudio", () => {
global.fetch = fetchMock;
const cfg = {
inbound: {
routing: {
transcribeAudio: {
command: ["echo", "{{MediaPath}}"],
timeoutSeconds: 5,
@@ -58,7 +58,7 @@ describe("transcribeInboundAudio", () => {
it("returns undefined when no transcription command", async () => {
const res = await transcribeInboundAudio(
{ inbound: {} } as never,
{ routing: {} } as never,
{} as never,
runtime as never,
);