mirror of
https://github.com/jambonz/verb-specifications.git
synced 2026-01-25 02:08:06 +00:00
support config referHook (#66)
This commit is contained in:
@@ -59,7 +59,8 @@
|
||||
"actionHookDelayAction": "#actionHookDelayAction",
|
||||
"sipRequestWithinDialogHook": "object|string",
|
||||
"boostAudioSignal": "number|string",
|
||||
"vad":"#vad"
|
||||
"vad":"#vad",
|
||||
"referHook": "object|string"
|
||||
},
|
||||
"required": []
|
||||
},
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user