add support for dual streams in rest:dial

This commit is contained in:
Quan HL
2023-09-20 14:16:45 +07:00
parent 6803a3e49d
commit e557b9ac3d
2 changed files with 4 additions and 2 deletions

View File

@@ -407,7 +407,8 @@
"to": "#target", "to": "#target",
"headers": "object", "headers": "object",
"timeout": "number", "timeout": "number",
"amd": "#amd" "amd": "#amd",
"dual_streams" : "boolean"
}, },
"required": [ "required": [
"call_hook", "call_hook",

View File

@@ -313,7 +313,8 @@ test("validate correct verbs", async (t) => {
"amd": { "amd": {
"actionHook": "/answeringMachineDetection", "actionHook": "/answeringMachineDetection",
} },
"dual_streams": true
} }
]; ];
try { try {