mirror of
https://github.com/jambonz/verb-specifications.git
synced 2026-01-25 02:08:06 +00:00
Merge pull request #13 from jambonz/feat/multi_srs
config with multiple siprecServerURL
This commit is contained in:
@@ -364,7 +364,7 @@
|
||||
"enum": ["startCallRecording", "stopCallRecording", "pauseCallRecording", "resumeCallRecording"]
|
||||
},
|
||||
"recordingID": "string",
|
||||
"siprecServerURL": "string"
|
||||
"siprecServerURL": "string|array"
|
||||
},
|
||||
"required": [
|
||||
"action"
|
||||
|
||||
@@ -36,6 +36,20 @@ test("validate correct verbs", async (t) => {
|
||||
"actionHook": "/userInput"
|
||||
}
|
||||
},
|
||||
{
|
||||
"verb": "config",
|
||||
"record": {
|
||||
"action": "startCallRecording",
|
||||
"siprecServerURL": ["sip:srs@recording.example.com","sip:srs@recording.example.com"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"verb": "config",
|
||||
"record": {
|
||||
"action": "startCallRecording",
|
||||
"siprecServerURL": "sip:srs@recording.example.com"
|
||||
}
|
||||
},
|
||||
{
|
||||
"verb": "dequeue",
|
||||
"name": "support",
|
||||
|
||||
Reference in New Issue
Block a user