From 61669e5574a26f9e8d6399605d7aa5fab0007ed2 Mon Sep 17 00:00:00 2001 From: Quan HL Date: Wed, 16 Aug 2023 05:01:34 +0700 Subject: [PATCH] add onHoldHook to dial verb --- specs.json | 1 + test/jambonz-verb-test.js | 1 + 2 files changed, 2 insertions(+) diff --git a/specs.json b/specs.json index 256acc0..983f1c4 100644 --- a/specs.json +++ b/specs.json @@ -198,6 +198,7 @@ "properties": { "id": "string", "actionHook": "object|string", + "onHoldHook": "object|string", "answerOnBridge": "boolean", "callerId": "string", "callerName": "string", diff --git a/test/jambonz-verb-test.js b/test/jambonz-verb-test.js index ba8d86d..289781b 100644 --- a/test/jambonz-verb-test.js +++ b/test/jambonz-verb-test.js @@ -67,6 +67,7 @@ test("validate correct verbs", async (t) => { { "verb": "dial", "actionHook": "/outdial", + "onHoldHook": "/onHoldHook", "callerId": "+16173331212", "callerName": "Tom", "answerOnBridge": true,