mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 08:40:38 +00:00
bugfix dialogflow no input timeout
This commit is contained in:
@@ -17,7 +17,8 @@ class Dialogflow extends Task {
|
|||||||
if (this.welcomeEvent.length && this.data.welcomeEventParams && typeof this.data.welcomeEventParams === 'object') {
|
if (this.welcomeEvent.length && this.data.welcomeEventParams && typeof this.data.welcomeEventParams === 'object') {
|
||||||
this.welcomeEventParams = this.data.welcomeEventParams;
|
this.welcomeEventParams = this.data.welcomeEventParams;
|
||||||
}
|
}
|
||||||
this.noInputTimeout = this.data.noInputTimeout || 20000;
|
if (this.data.noInputTimeout) this.noInputTimeout = this.data.noInputTimeout * 1000;
|
||||||
|
else this.noInputTimeout = 20000;
|
||||||
this.noInputEvent = this.data.noInputEvent || 'actions_intent_NO_INPUT';
|
this.noInputEvent = this.data.noInputEvent || 'actions_intent_NO_INPUT';
|
||||||
this.passDtmfAsInputText = this.passDtmfAsInputText === true;
|
this.passDtmfAsInputText = this.passDtmfAsInputText === true;
|
||||||
if (this.data.eventHook) this.eventHook = this.data.eventHook;
|
if (this.data.eventHook) this.eventHook = this.data.eventHook;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "jambonz-feature-server",
|
"name": "jambonz-feature-server",
|
||||||
"version": "0.2.2",
|
"version": "0.2.3",
|
||||||
"main": "app.js",
|
"main": "app.js",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 10.16.0"
|
"node": ">= 10.16.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user