mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-21 17:17:58 +00:00
add testcase
This commit is contained in:
@@ -1792,7 +1792,7 @@ class CallSession extends Emitter {
|
||||
//this.logger.debug(`updating redis with ${JSON.stringify(this.callInfo)}`);
|
||||
this.updateCallStatus(Object.assign({}, this.callInfo.toJSON()), this.serviceUrl)
|
||||
.catch((err) => this.logger.error(err, 'redis error'));
|
||||
|
||||
|
||||
if (this.wakeupResolver && !this.dlg && this.isCurrentCallHigherThan(CallStatus.Failed)) {
|
||||
// Someone is waiting for call to be final
|
||||
this.wakeupResolver({reason: 'session ended'});
|
||||
|
||||
Reference in New Issue
Block a user