From 7d57c85153c968f34de36676a167e3ff37f32c6d Mon Sep 17 00:00:00 2001 From: Dave Horton Date: Fri, 24 Jun 2022 10:50:29 -0400 Subject: [PATCH] bugfix #121: Dial verb not ending when call no answer timeout exceeded --- lib/tasks/dial.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/tasks/dial.js b/lib/tasks/dial.js index 511eeca1..f13cf0a8 100644 --- a/lib/tasks/dial.js +++ b/lib/tasks/dial.js @@ -404,6 +404,11 @@ class TaskDial extends Task { this.logger.info(`Dial:_attemptCall: ring no answer timer ${this.timeout}s exceeded`); this.timerRing = null; this._killOutdials(); + this.result = { + dialCallStatus: CallStatus.NoAnswer, + dialSipStatus: 487 + }; + this.kill(cs); }, this.timeout * 1000); this.span.setAttributes({'dial.target': JSON.stringify(this.target)});