support config referHook (#66)

This commit is contained in:
Hoan Luu Huu
2024-09-25 18:24:40 +07:00
committed by GitHub
parent aa86d0b3e6
commit e80679fd07
2 changed files with 12 additions and 1 deletions

View File

@@ -59,7 +59,8 @@
"actionHookDelayAction": "#actionHookDelayAction",
"sipRequestWithinDialogHook": "object|string",
"boostAudioSignal": "number|string",
"vad":"#vad"
"vad":"#vad",
"referHook": "object|string"
},
"required": []
},

View File

@@ -81,6 +81,16 @@ test("validate correct verbs", async (t) => {
}
}
},
{
"verb": "config",
"referHook": "https://referhook.com"
},
{
"verb": "config",
"referHook": {
"url": "https://referhook.com"
}
},
{
"verb": "config",
"recognizer": {