feat: add onhold music to dial verb

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

View File

@@ -213,7 +213,8 @@
"timeout": "number",
"proxy": "string",
"transcribe": "#transcribe",
"amd": "#amd"
"amd": "#amd",
"onHoldMusic": "string"
},
"required": [
"target"

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"