add testcase

This commit is contained in:
Quan HL
2025-09-19 11:28:22 +07:00
parent f9df6fcf1b
commit c01c3c76ef
2 changed files with 26 additions and 1 deletions

View File

@@ -755,7 +755,8 @@
"customOptions": "#customOptions",
"verbioOptions": "#verbioOptions",
"speechmaticsOptions": "#speechmaticsOptions",
"openaiOptions": "#openaiOptions"
"openaiOptions": "#openaiOptions",
"houndifyOptions": "#houndifyOptions"
},
"required": [
"vendor"

View File

@@ -279,6 +279,30 @@ test("validate correct verbs", async (t) => {
}
},
},
{
"verb": "gather",
"actionHook": "http://example.com/collect",
"input": ["digits", "speech"],
"bargein": true,
"dtmfBargein": true,
"finishOnKey": "#",
"numDigits": 5,
"timeout": 8,
"recognizer": {
"vendor": "houndify",
"language": "en-US",
"houndifyOptions": {
"latitude": 30.6,
"longitude": 30.6,
"city": "Huston",
"state": "CA",
"country": "US",
"timeZone": "GMT",
"domain": "Voice",
"audioEndpoint": "https://api.houndify.com/v1/audio",
}
},
},
{
"verb": "gather",
"actionHook": "http://example.com/collect",