rework dub verb (#43)

This commit is contained in:
Dave Horton
2024-03-04 18:10:30 -05:00
committed by GitHub
parent 85aaab5856
commit 58385e791b

View File

@@ -56,22 +56,10 @@
"reset": "string|array",
"onHoldMusic": "string",
"actionHookDelayAction": "#actionHookDelayAction",
"sipRequestWithinDialogHook": "object|string",
"dub": "#dub"
"sipRequestWithinDialogHook": "object|string"
},
"required": []
},
"dub": {
"properties": {
"enable": "boolean",
"play": "string",
"say": "object|string",
"adjustVolume": "string"
},
"required": [
"enable"
]
},
"listenOptions": {
"properties": {
"enable": "boolean",
@@ -121,6 +109,24 @@
"enable"
]
},
"dub": {
"properties": {
"id": "string",
"action": {
"type": "string",
"enum": ["addTrack", "removeTrack", "silenceTrack", "playOnTrack", "sayOnTrack"]
},
"track": "string",
"play": "string",
"say": "string",
"loop": "boolean",
"gain": "number|string"
},
"required": [
"action",
"track"
]
},
"dequeue": {
"properties": {
"id": "string",