feat: add onhold music to dial verb

This commit is contained in:
Quan HL committed 2023-07-25 17:56:28 +07:00
1 parent 1c3d86c807
commit c22e8c9cf0
2 files changed
+3 -1

No files matched your search

+2 -1
View File
@@ -213,7 +213,8 @@
"timeout": "number",
"proxy": "string",
"transcribe": "#transcribe",
"amd": "#amd"
"amd": "#amd",
"onHoldMusic": "string"
},
"required": [
"target"
+1
View File
@@ -68,6 +68,7 @@ test("validate correct verbs", async (t) => {
"callerName": "Tom",
"answerOnBridge": true,
"dtmfCapture": ["*2", "*3"],
"onHoldMusic": "http://server.com/hold",
"dtmfHook": {
"url": "/dtmf",
"method": "GET"