Skip to content

Commit

Permalink
update deps, comment out questionable code
Browse files Browse the repository at this point in the history
  • Loading branch information
davehorton committed Jan 17, 2024
1 parent cdfbf38 commit 2747bc1
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 24 deletions.
3 changes: 3 additions & 0 deletions lib/call-session.js
Original file line number Diff line number Diff line change
Expand Up @@ -365,12 +365,15 @@ class CallSession extends Emitter {
[uas, uac].forEach((dlg) => {
dlg.on('destroy', async(bye) => {
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()
.then((results) => {
this.logger.info({results}, 'rtpengine query results');
return this.rtpEngineResource.destroy();
})
.catch((err) => {});
*/
this.activeCallIds.delete(this.req.get('Call-ID'));
try {
const headers = {};
Expand Down
44 changes: 22 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
"jslint": "eslint app.js lib"
},
"dependencies": {
"@jambonz/db-helpers": "^0.9.1",
"@jambonz/db-helpers": "^0.9.3",
"@jambonz/http-health-check": "^0.0.1",
"@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/stats-collector": "^0.1.9",
"@jambonz/time-series": "^0.2.5",
Expand Down

0 comments on commit 2747bc1

Please sign in to comment.