config with multiple siprecServerURL

This commit is contained in:
Quan HL
2023-06-19 07:26:53 +07:00
parent f472de9638
commit cfd367f185
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",