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

View File

@@ -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 = {};