mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2026-11-02 01:24:34 +00:00
dialogflow: clear no input timer on caller hangup
This commit is contained in:
1 parent
63a00063c1
commit
ec7a1858d6
1 file changed
+2
@@ -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'));
|
||||
|
||||
|
||||
Reference in new issue
Block a user