From f6ad050a32bbe24b318ecbf30e92d445e7745f39 Mon Sep 17 00:00:00 2001 From: Dave Horton Date: Tue, 27 Feb 2024 12:49:19 -0500 Subject: [PATCH] Feat/ambient sounds (#41) * add config.ambientNoise * add answer verb to force answer --- specs.json | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/specs.json b/specs.json index 6a724df..f8fdbb1 100644 --- a/specs.json +++ b/specs.json @@ -1,4 +1,11 @@ { + "answer": { + "properties": { + "id": "string" + }, + "required": [ + ] + }, "sip:decline": { "properties": { "id": "string", @@ -49,10 +56,20 @@ "reset": "string|array", "onHoldMusic": "string", "actionHookDelayAction": "#actionHookDelayAction", - "sipRequestWithinDialogHook": "object|string" + "sipRequestWithinDialogHook": "object|string", + "ambientNoise": "#ambientNoise" }, "required": [] }, + "ambientNoise": { + "properties": { + "enable": "boolean", + "url": "string" + }, + "required": [ + "enable" + ] + }, "listenOptions": { "properties": { "enable": "boolean",