mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 16:50:39 +00:00
bugfix #121: Dial verb not ending when call no answer timeout exceeded
This commit is contained in:
@@ -404,6 +404,11 @@ class TaskDial extends Task {
|
|||||||
this.logger.info(`Dial:_attemptCall: ring no answer timer ${this.timeout}s exceeded`);
|
this.logger.info(`Dial:_attemptCall: ring no answer timer ${this.timeout}s exceeded`);
|
||||||
this.timerRing = null;
|
this.timerRing = null;
|
||||||
this._killOutdials();
|
this._killOutdials();
|
||||||
|
this.result = {
|
||||||
|
dialCallStatus: CallStatus.NoAnswer,
|
||||||
|
dialSipStatus: 487
|
||||||
|
};
|
||||||
|
this.kill(cs);
|
||||||
}, this.timeout * 1000);
|
}, this.timeout * 1000);
|
||||||
|
|
||||||
this.span.setAttributes({'dial.target': JSON.stringify(this.target)});
|
this.span.setAttributes({'dial.target': JSON.stringify(this.target)});
|
||||||
|
|||||||
Reference in New Issue
Block a user