diff --git a/specs.json b/specs.json index e4414f4..d9363df 100644 --- a/specs.json +++ b/specs.json @@ -80,6 +80,7 @@ }, "listenOptions": { "properties": { + "actionHook": "object|string", "enable": "boolean", "url": "string", "sampleRate": "number", diff --git a/test/jambonz-verb-test.js b/test/jambonz-verb-test.js index 36feed9..7d96728 100644 --- a/test/jambonz-verb-test.js +++ b/test/jambonz-verb-test.js @@ -364,6 +364,7 @@ test("validate correct verbs", async (t) => { { "verb": "config", "listen": { + "actionHook": "/listen-ended", "enable": true, "url": "wss://myrecorder.example.com/calls", "mixType" : "stereo",