diff --git a/specs.json b/specs.json index c3fb68f..a260f90 100644 --- a/specs.json +++ b/specs.json @@ -519,7 +519,8 @@ "amd": "#amd", "dual_streams": "boolean", "sipRequestWithinDialogHook": "string", - "referHook": "object|string" + "referHook": "object|string", + "timeLimit": "number" }, "required": [ "call_hook", diff --git a/test/jambonz-verb-test.js b/test/jambonz-verb-test.js index c355aa6..aabcaee 100644 --- a/test/jambonz-verb-test.js +++ b/test/jambonz-verb-test.js @@ -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 {