mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-21 09:08:02 +00:00
add sip decline testcase
This commit is contained in:
@@ -1793,7 +1793,7 @@ class CallSession extends Emitter {
|
|||||||
this.updateCallStatus(Object.assign({}, this.callInfo.toJSON()), this.serviceUrl)
|
this.updateCallStatus(Object.assign({}, this.callInfo.toJSON()), this.serviceUrl)
|
||||||
.catch((err) => this.logger.error(err, 'redis error'));
|
.catch((err) => this.logger.error(err, 'redis error'));
|
||||||
|
|
||||||
if (this.wakeupResolver && !this.dlg && this.isFinalStatus()) {
|
if (this.wakeupResolver && this.isFinalStatus()) {
|
||||||
// Someone is waiting for call to be final
|
// Someone is waiting for call to be final
|
||||||
this.wakeupResolver({reason: 'session ended'});
|
this.wakeupResolver({reason: 'session ended'});
|
||||||
this.wakeupResolver = null;
|
this.wakeupResolver = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user