add record option to the config verb

This commit is contained in:
Dave Horton
2022-06-21 14:56:58 -04:00
parent 19663a8f9c
commit 85ba7df1b3
2 changed files with 16 additions and 2 deletions

View File

@@ -36,7 +36,8 @@
"properties": {
"synthesizer": "#synthesizer",
"recognizer": "#recognizer",
"bargeIn": "#bargeIn"
"bargeIn": "#bargeIn",
"record": "#recordOptions"
},
"required": []
},
@@ -307,6 +308,19 @@
"path"
]
},
"recordOptions": {
"properties": {
"action": {
"type": "string",
"enum": ["startCallRecording", "stopCallRecording", "pauseCallRecording", "resumeCallRecording"]
},
"recordingID": "string",
"siprecServerURL": "string"
},
"required": [
"type"
]
},
"redirect": {
"properties": {
"actionHook": "object|string"