From 68b3c7de01ab39e964193204310e4c97464d721e Mon Sep 17 00:00:00 2001 From: Quan HL Date: Wed, 12 Apr 2023 06:30:29 +0700 Subject: [PATCH 1/2] feat: update callerName to dial --- specs.json | 1 + test/jambonz-verb-test.js | 1 + 2 files changed, 2 insertions(+) diff --git a/specs.json b/specs.json index 9d54af9..de3460f 100644 --- a/specs.json +++ b/specs.json @@ -196,6 +196,7 @@ "actionHook": "object|string", "answerOnBridge": "boolean", "callerId": "string", + "callerName": "string", "confirmHook": "object|string", "referHook": "object|string", "dialMusic": "string", diff --git a/test/jambonz-verb-test.js b/test/jambonz-verb-test.js index 95849e9..bffefee 100644 --- a/test/jambonz-verb-test.js +++ b/test/jambonz-verb-test.js @@ -46,6 +46,7 @@ test("validate correct verbs", async (t) => { "verb": "dial", "actionHook": "/outdial", "callerId": "+16173331212", + "callerName": "Tom", "answerOnBridge": true, "dtmfCapture": ["*2", "*3"], "dtmfHook": { From d7219b990bb7b8cf00f8f3be5ecda368763fa23b Mon Sep 17 00:00:00 2001 From: Quan HL Date: Wed, 12 Apr 2023 06:38:16 +0700 Subject: [PATCH 2/2] feat: update callerName to rest --- specs.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specs.json b/specs.json index de3460f..31987bb 100644 --- a/specs.json +++ b/specs.json @@ -384,6 +384,7 @@ "call_hook": "object|string", "call_status_hook": "object|string", "from": "string", + "callerName": "string", "fromHost": "string", "speech_synthesis_vendor": "string", "speech_synthesis_voice": "string",