fix uncaught exception referencing this.ep in freeswitch hangup scenario (#1532)

This commit is contained in:
Dave Horton
2026-03-27 08:31:32 -04:00
committed by GitHub
parent 5d6751782a
commit df30496dac
+1 -1
View File
@@ -2476,7 +2476,7 @@ Duration=${duration} `
this.logger.info(`allocated endpoint ${ep.uuid}`);
this.ep.on('destroy', () => {
this.logger.debug(`endpoint was destroyed!! ${this.ep.uuid}`);
this.logger.debug(`endpoint was destroyed!! ${this.ep?.uuid}`);
});
if (this.direction === CallDirection.Inbound || this.application?.transferredCall) {