update deps, comment out questionable code

This commit is contained in:
Dave Horton
2024-01-17 13:37:07 -05:00
parent cdfbf384fe
commit 2747bc15d6
3 changed files with 27 additions and 24 deletions
+3
View File
@@ -365,12 +365,15 @@ class CallSession extends Emitter {
[uas, uac].forEach((dlg) => { [uas, uac].forEach((dlg) => {
dlg.on('destroy', async(bye) => { dlg.on('destroy', async(bye) => {
const other = dlg.other; const other = dlg.other;
this.rtpEngineResource.destroy().catch((err) => {});
/* DH: need a better understanding of why query before delete is a good idea
this.rtpEngineResource.query() this.rtpEngineResource.query()
.then((results) => { .then((results) => {
this.logger.info({results}, 'rtpengine query results'); this.logger.info({results}, 'rtpengine query results');
return this.rtpEngineResource.destroy(); return this.rtpEngineResource.destroy();
}) })
.catch((err) => {}); .catch((err) => {});
*/
this.activeCallIds.delete(this.req.get('Call-ID')); this.activeCallIds.delete(this.req.get('Call-ID'));
try { try {
const headers = {}; const headers = {};
+22 -22
View File
@@ -11,11 +11,11 @@
"dependencies": { "dependencies": {
"@aws-sdk/client-auto-scaling": "^3.360.0", "@aws-sdk/client-auto-scaling": "^3.360.0",
"@aws-sdk/client-sns": "^3.360.0", "@aws-sdk/client-sns": "^3.360.0",
"@jambonz/db-helpers": "^0.9.1", "@jambonz/db-helpers": "^0.9.3",
"@jambonz/digest-utils": "^0.0.3", "@jambonz/digest-utils": "^0.0.3",
"@jambonz/http-health-check": "^0.0.1", "@jambonz/http-health-check": "^0.0.1",
"@jambonz/realtimedb-helpers": "^0.8.7", "@jambonz/realtimedb-helpers": "^0.8.7",
"@jambonz/rtpengine-utils": "^0.4.3", "@jambonz/rtpengine-utils": "^0.4.4",
"@jambonz/siprec-client-utils": "^0.2.6", "@jambonz/siprec-client-utils": "^0.2.6",
"@jambonz/stats-collector": "^0.1.9", "@jambonz/stats-collector": "^0.1.9",
"@jambonz/time-series": "^0.2.5", "@jambonz/time-series": "^0.2.5",
@@ -1797,9 +1797,9 @@
} }
}, },
"node_modules/@jambonz/db-helpers": { "node_modules/@jambonz/db-helpers": {
"version": "0.9.1", "version": "0.9.3",
"resolved": "https://registry.npmjs.org/@jambonz/db-helpers/-/db-helpers-0.9.1.tgz", "resolved": "https://registry.npmjs.org/@jambonz/db-helpers/-/db-helpers-0.9.3.tgz",
"integrity": "sha512-asQQdeQEl1jCyQAxp2kMljZzExQbcG/mBxVYA2Jf0E1ReZctC206LWMWmY/rvbSHHXNZBzJlNxhD0dQB+FtJYA==", "integrity": "sha512-3XFs7NC7J7Q/eb1CwG1YJHa6N4elh8IP/4hMMDgoM9U5Loplx61XI4nZ58FIrY3C/F6gEF4UdjqKvbusEVw7cQ==",
"dependencies": { "dependencies": {
"cidr-matcher": "^2.1.1", "cidr-matcher": "^2.1.1",
"debug": "^4.3.4", "debug": "^4.3.4",
@@ -1840,12 +1840,12 @@
} }
}, },
"node_modules/@jambonz/rtpengine-utils": { "node_modules/@jambonz/rtpengine-utils": {
"version": "0.4.3", "version": "0.4.4",
"resolved": "https://registry.npmjs.org/@jambonz/rtpengine-utils/-/rtpengine-utils-0.4.3.tgz", "resolved": "https://registry.npmjs.org/@jambonz/rtpengine-utils/-/rtpengine-utils-0.4.4.tgz",
"integrity": "sha512-Aca2QHINtYfFTORag7I7WCw0IqTzx7ZNnboj99XshVF+kcP+AN7qbzUCMYMVC36QXCkHNP7ExhVaBWB2e3Cahg==", "integrity": "sha512-Kta5MlCPAnb4Z9yxzbPiRThI3yYbeBEslh00/g0rXSEK3voMNpQFPVMy9d83EAOoMEIMouas7/D2gVwV+2hfHA==",
"dependencies": { "dependencies": {
"debug": "^4.3.1", "debug": "^4.3.1",
"rtpengine-client": "^0.4.11", "rtpengine-client": "^0.4.12",
"ws": "^8.5.0" "ws": "^8.5.0"
} }
}, },
@@ -5128,9 +5128,9 @@
} }
}, },
"node_modules/rtpengine-client": { "node_modules/rtpengine-client": {
"version": "0.4.11", "version": "0.4.12",
"resolved": "https://registry.npmjs.org/rtpengine-client/-/rtpengine-client-0.4.11.tgz", "resolved": "https://registry.npmjs.org/rtpengine-client/-/rtpengine-client-0.4.12.tgz",
"integrity": "sha512-upWU+aDQ9SWzyL8gSoCWelInnkELR8c2Qlym9iCupwAmJb6SztZDP/wwZDWVKhusHI4o0ihx077AZrgv3fWwAg==", "integrity": "sha512-Ax7Xf0ct4ZsjX+BzW/t3l19Lux4Ia6q+9BwWWcnelqi8IF0vts9OGcC3EV1/oBlVUCKnbjSYyG6kmUU5xC65vw==",
"dependencies": { "dependencies": {
"bencode": "^2.0.3", "bencode": "^2.0.3",
"uuid-random": "^1.3.2", "uuid-random": "^1.3.2",
@@ -7498,9 +7498,9 @@
"dev": true "dev": true
}, },
"@jambonz/db-helpers": { "@jambonz/db-helpers": {
"version": "0.9.1", "version": "0.9.3",
"resolved": "https://registry.npmjs.org/@jambonz/db-helpers/-/db-helpers-0.9.1.tgz", "resolved": "https://registry.npmjs.org/@jambonz/db-helpers/-/db-helpers-0.9.3.tgz",
"integrity": "sha512-asQQdeQEl1jCyQAxp2kMljZzExQbcG/mBxVYA2Jf0E1ReZctC206LWMWmY/rvbSHHXNZBzJlNxhD0dQB+FtJYA==", "integrity": "sha512-3XFs7NC7J7Q/eb1CwG1YJHa6N4elh8IP/4hMMDgoM9U5Loplx61XI4nZ58FIrY3C/F6gEF4UdjqKvbusEVw7cQ==",
"requires": { "requires": {
"cidr-matcher": "^2.1.1", "cidr-matcher": "^2.1.1",
"debug": "^4.3.4", "debug": "^4.3.4",
@@ -7538,12 +7538,12 @@
} }
}, },
"@jambonz/rtpengine-utils": { "@jambonz/rtpengine-utils": {
"version": "0.4.3", "version": "0.4.4",
"resolved": "https://registry.npmjs.org/@jambonz/rtpengine-utils/-/rtpengine-utils-0.4.3.tgz", "resolved": "https://registry.npmjs.org/@jambonz/rtpengine-utils/-/rtpengine-utils-0.4.4.tgz",
"integrity": "sha512-Aca2QHINtYfFTORag7I7WCw0IqTzx7ZNnboj99XshVF+kcP+AN7qbzUCMYMVC36QXCkHNP7ExhVaBWB2e3Cahg==", "integrity": "sha512-Kta5MlCPAnb4Z9yxzbPiRThI3yYbeBEslh00/g0rXSEK3voMNpQFPVMy9d83EAOoMEIMouas7/D2gVwV+2hfHA==",
"requires": { "requires": {
"debug": "^4.3.1", "debug": "^4.3.1",
"rtpengine-client": "^0.4.11", "rtpengine-client": "^0.4.12",
"ws": "^8.5.0" "ws": "^8.5.0"
} }
}, },
@@ -10022,9 +10022,9 @@
} }
}, },
"rtpengine-client": { "rtpengine-client": {
"version": "0.4.11", "version": "0.4.12",
"resolved": "https://registry.npmjs.org/rtpengine-client/-/rtpengine-client-0.4.11.tgz", "resolved": "https://registry.npmjs.org/rtpengine-client/-/rtpengine-client-0.4.12.tgz",
"integrity": "sha512-upWU+aDQ9SWzyL8gSoCWelInnkELR8c2Qlym9iCupwAmJb6SztZDP/wwZDWVKhusHI4o0ihx077AZrgv3fWwAg==", "integrity": "sha512-Ax7Xf0ct4ZsjX+BzW/t3l19Lux4Ia6q+9BwWWcnelqi8IF0vts9OGcC3EV1/oBlVUCKnbjSYyG6kmUU5xC65vw==",
"requires": { "requires": {
"bencode": "^2.0.3", "bencode": "^2.0.3",
"uuid-random": "^1.3.2", "uuid-random": "^1.3.2",
+2 -2
View File
@@ -25,10 +25,10 @@
"jslint": "eslint app.js lib" "jslint": "eslint app.js lib"
}, },
"dependencies": { "dependencies": {
"@jambonz/db-helpers": "^0.9.1", "@jambonz/db-helpers": "^0.9.3",
"@jambonz/http-health-check": "^0.0.1", "@jambonz/http-health-check": "^0.0.1",
"@jambonz/realtimedb-helpers": "^0.8.7", "@jambonz/realtimedb-helpers": "^0.8.7",
"@jambonz/rtpengine-utils": "^0.4.3", "@jambonz/rtpengine-utils": "^0.4.4",
"@jambonz/siprec-client-utils": "^0.2.6", "@jambonz/siprec-client-utils": "^0.2.6",
"@jambonz/stats-collector": "^0.1.9", "@jambonz/stats-collector": "^0.1.9",
"@jambonz/time-series": "^0.2.5", "@jambonz/time-series": "^0.2.5",