Merge pull request #13 from jambonz/feat/multi_srs

config with multiple siprecServerURL
This commit is contained in:
Dave Horton
2023-06-19 06:44:28 +01:00
committed by GitHub
2 changed files with 15 additions and 1 deletions

View File

@@ -364,7 +364,7 @@
"enum": ["startCallRecording", "stopCallRecording", "pauseCallRecording", "resumeCallRecording"]
},
"recordingID": "string",
"siprecServerURL": "string"
"siprecServerURL": "string|array"
},
"required": [
"action"

View File

@@ -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",