diff --git a/lib/tasks/dialogflow/index.js b/lib/tasks/dialogflow/index.js index 7e2fa83e..8554c8eb 100644 --- a/lib/tasks/dialogflow/index.js +++ b/lib/tasks/dialogflow/index.js @@ -88,6 +88,8 @@ class Dialogflow extends Task { this.ep.removeCustomEventListener('dialogflow::end_of_utterance'); this.ep.removeCustomEventListener('dialogflow::error'); + this._clearNoinputTimer(); + if (!this.reportedFinalAction) this.performAction({dialogflowResult: 'caller hungup'}) .catch((err) => this.logger.error({err}, 'dialogflow - error w/ action webook'));