allow startrecording without siprec url for cloud (#530)

* allow startrecording without siprecm url for cloud

* update dependencies
This commit is contained in:
Sam Machin
2026-01-29 23:21:31 +00:00
committed by GitHub
parent bc26651cdb
commit f5fa3bdffb
3 changed files with 30 additions and 15 deletions
+1 -1
View File
@@ -354,7 +354,7 @@ function validateUpdateCall(opts) {
if (opts.dtmf && !opts.dtmf.digit) {
throw new DbErrorBadRequest('invalid dtmf');
}
if ('startCallRecording' === opts.record?.action && !opts.record.siprecServerURL) {
if (opts.record?.action && !opts.record.siprecServerURL && (!opts.record.type || opts.record.type !== 'cloud')) {
throw new DbErrorBadRequest('record requires siprecServerURL property when starting recording');
}
if (opts.tag && (typeof opts.tag !== 'object' || Array.isArray(opts.tag) || opts.tag === null)) {
+28 -13
View File
@@ -23,7 +23,7 @@
"@jambonz/realtimedb-helpers": "^0.8.15",
"@jambonz/speech-utils": "^0.2.30",
"@jambonz/time-series": "^0.2.8",
"@jambonz/verb-specifications": "^0.0.122",
"@jambonz/verb-specifications": "^0.0.123",
"@soniox/soniox-node": "^1.2.2",
"ajv": "^8.17.1",
"argon2": "^0.40.1",
@@ -2773,9 +2773,9 @@
}
},
"node_modules/@cartesia/cartesia-js": {
"version": "2.2.7",
"resolved": "https://registry.npmjs.org/@cartesia/cartesia-js/-/cartesia-js-2.2.7.tgz",
"integrity": "sha512-yXIK/rEQzY3LPdrFd+oWlW39dxuAb5mnP3NOemaeLiMaRKAYatMdh154NyB3lAf3BgqMXpGWUg46vSzBCDiEnQ==",
"version": "2.2.9",
"resolved": "https://registry.npmjs.org/@cartesia/cartesia-js/-/cartesia-js-2.2.9.tgz",
"integrity": "sha512-mstq5EobmlN+Y/awHJS3H2ZXEX1LNpUNVn2JckaZD00iBIKQoBhsmeiVGGjisny/IcTYsucwpI3Hksk5Uo+/tQ==",
"dependencies": {
"emittery": "^0.13.1",
"form-data": "^4.0.0",
@@ -2807,6 +2807,21 @@
"node": ">= 18"
}
},
"node_modules/@cartesia/cartesia-js/node_modules/qs": {
"version": "6.14.1",
"resolved": "https://registry.npmjs.org/qs/-/qs-6.14.1.tgz",
"integrity": "sha512-4EK3+xJl8Ts67nLYNwqw/dsFVnCf+qR7RgXSK9jEEm9unao3njwMDdmsdvoKBKHzxd7tCYz5e5M+SnMjdtXGQQ==",
"license": "BSD-3-Clause",
"dependencies": {
"side-channel": "^1.1.0"
},
"engines": {
"node": ">=0.6"
},
"funding": {
"url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/@cartesia/cartesia-js/node_modules/readable-stream": {
"version": "4.7.0",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.7.0.tgz",
@@ -2934,9 +2949,9 @@
}
},
"node_modules/@gladiaio/sdk": {
"version": "0.5.2",
"resolved": "https://registry.npmjs.org/@gladiaio/sdk/-/sdk-0.5.2.tgz",
"integrity": "sha512-v51y75+5Wg/YWVQlTXGdOFiKTrYAHdWR3xZoCqLQdWPyBlynVbiTPf4IpID0zAP/ngu16GGmBVC/XOQZfcj+hg==",
"version": "0.5.3",
"resolved": "https://registry.npmjs.org/@gladiaio/sdk/-/sdk-0.5.3.tgz",
"integrity": "sha512-2cxnTrzhUE2NlfV4qMafcw4hmNB0DHF7f3XrBPgBurPlqO30DlJ/4HmabIY/K1mTTsDZu7wRgmetbtetk8JbEA==",
"license": "MIT",
"engines": {
"node": ">=20"
@@ -3876,9 +3891,9 @@
}
},
"node_modules/@jambonz/verb-specifications": {
"version": "0.0.122",
"resolved": "https://registry.npmjs.org/@jambonz/verb-specifications/-/verb-specifications-0.0.122.tgz",
"integrity": "sha512-7xqaULhKFywJ2ZuyiYt77iiJwJ+8b98Zt1X4+OqZ7Cdjhfo7S6KnR66XRVJHnekXbmfVv58kB0KWUux5TG//Sw==",
"version": "0.0.123",
"resolved": "https://registry.npmjs.org/@jambonz/verb-specifications/-/verb-specifications-0.0.123.tgz",
"integrity": "sha512-yPW8u0Wacz8FKnQpQDjJ2AQHjHTf4S3TlkTyKqFkOyY8lnjnhqg0Mth+9uvOPfJaHgsPd0t9outfQa0wCu5tww==",
"license": "MIT",
"dependencies": {
"debug": "^4.3.4",
@@ -8158,9 +8173,9 @@
}
},
"node_modules/human-id": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/human-id/-/human-id-4.1.2.tgz",
"integrity": "sha512-v/J+4Z/1eIJovEBdlV5TYj1IR+ZiohcYGRY+qN/oC9dAfKzVT023N/Bgw37hrKCoVRBvk3bqyzpr2PP5YeTMSg==",
"version": "4.1.3",
"resolved": "https://registry.npmjs.org/human-id/-/human-id-4.1.3.tgz",
"integrity": "sha512-tsYlhAYpjCKa//8rXZ9DqKEawhPoSytweBC2eNvcaDK+57RZLHGqNs3PZTQO6yekLFSuvA6AlnAfrw1uBvtb+Q==",
"license": "MIT",
"bin": {
"human-id": "dist/cli.js"
+1 -1
View File
@@ -34,7 +34,7 @@
"@jambonz/realtimedb-helpers": "^0.8.15",
"@jambonz/speech-utils": "^0.2.30",
"@jambonz/time-series": "^0.2.8",
"@jambonz/verb-specifications": "^0.0.122",
"@jambonz/verb-specifications": "^0.0.123",
"@soniox/soniox-node": "^1.2.2",
"ajv": "^8.17.1",
"argon2": "^0.40.1",