Compare commits

...

4 Commits

Author SHA1 Message Date
Sam Machin
7c9c4548a9 add statusHook to redirect 2026-01-16 17:42:45 +00:00
Sam Machin
a91bdf5e25 add config:record type 2026-01-02 14:08:01 +00:00
Dave Horton
2b81fe20f0 0.0.122 2025-11-27 11:38:55 -06:00
Hoan Luu Huu
60a33e11eb suoppport houndifyOptions for requestInfo and sampleRate (#117) 2025-11-27 11:37:28 -06:00
4 changed files with 18 additions and 4 deletions

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "@jambonz/verb-specifications",
"version": "0.0.121",
"version": "0.0.122",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@jambonz/verb-specifications",
"version": "0.0.121",
"version": "0.0.122",
"license": "MIT",
"dependencies": {
"debug": "^4.3.4",

View File

@@ -1,6 +1,6 @@
{
"name": "@jambonz/verb-specifications",
"version": "0.0.121",
"version": "0.0.122",
"description": "Jambonz Verb Specification Utilities",
"main": "index.js",
"scripts": {

View File

@@ -534,6 +534,11 @@
"type": "string",
"enum": ["startCallRecording", "stopCallRecording", "pauseCallRecording", "resumeCallRecording"]
},
"type" : {
"type" : "string",
"enum" : ["cloud", "siprec"]
},
"recordingID": "string",
"siprecServerURL": "string|array",
"headers": "object"
@@ -545,7 +550,8 @@
"redirect": {
"properties": {
"id": "string",
"actionHook": "object|string"
"actionHook": "object|string",
"statusHook": "obejct|string"
},
"required": [
"actionHook"
@@ -841,6 +847,8 @@
},
"houndifyOptions": {
"properties": {
"requestInfo": "object",
"sampleRate": "number",
"latitude": "number",
"longitude": "number",
"city": "string",

View File

@@ -292,6 +292,12 @@ test("validate correct verbs", async (t) => {
"vendor": "houndify",
"language": "en-US",
"houndifyOptions": {
"requestInfo": {
"Latitude": 30.6,
"Longitude": 30.6,
"City": "Huston"
},
"sampleRate": 16000,
"latitude": 30.6,
"longitude": 30.6,
"city": "Huston",