obholdMusic for config verb

This commit is contained in:
Quan HL
2023-08-10 13:56:10 +07:00
parent c22e8c9cf0
commit 185e4df06e
2 changed files with 5 additions and 5 deletions

View File

@@ -45,7 +45,8 @@
"listen": "#listenOptions",
"amd": "#amd",
"notifyEvents": "boolean",
"reset": "string|array"
"reset": "string|array",
"onHoldMusic": "string"
},
"required": []
},
@@ -213,8 +214,7 @@
"timeout": "number",
"proxy": "string",
"transcribe": "#transcribe",
"amd": "#amd",
"onHoldMusic": "string"
"amd": "#amd"
},
"required": [
"target"

View File

@@ -34,7 +34,8 @@ test("validate correct verbs", async (t) => {
"enable": true,
"input" : ["speech"],
"actionHook": "/userInput"
}
},
"onHoldMusic": "http://server.com/hold"
},
{
"verb": "config",
@@ -68,7 +69,6 @@ test("validate correct verbs", async (t) => {
"callerName": "Tom",
"answerOnBridge": true,
"dtmfCapture": ["*2", "*3"],
"onHoldMusic": "http://server.com/hold",
"dtmfHook": {
"url": "/dtmf",
"method": "GET"