mirror of
https://github.com/jambonz/verb-specifications.git
synced 2025-12-19 04:47:47 +00:00
add timeLimit to REST:Dial & test (#78)
also added timeLimit to the dial verb test
This commit is contained in:
@@ -519,7 +519,8 @@
|
||||
"amd": "#amd",
|
||||
"dual_streams": "boolean",
|
||||
"sipRequestWithinDialogHook": "string",
|
||||
"referHook": "object|string"
|
||||
"referHook": "object|string",
|
||||
"timeLimit": "number"
|
||||
},
|
||||
"required": [
|
||||
"call_hook",
|
||||
|
||||
@@ -139,6 +139,7 @@ test("validate correct verbs", async (t) => {
|
||||
"callerName": "Tom",
|
||||
"answerOnBridge": true,
|
||||
"dtmfCapture": ["*2", "*3"],
|
||||
"timeLimit": 10,
|
||||
"dtmfHook": {
|
||||
"url": "/dtmf",
|
||||
"method": "GET"
|
||||
@@ -518,7 +519,8 @@ test("validate correct verbs", async (t) => {
|
||||
"actionHook": "/answeringMachineDetection",
|
||||
|
||||
},
|
||||
"dual_streams": true
|
||||
"dual_streams": true,
|
||||
"timeLimit" : 10
|
||||
}
|
||||
];
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user