@onereach/step-voice 6.1.3-multilingualrecognition.1 → 6.1.3-multilingualrecognition.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dst/Choice.js +2 -0
- package/package.json +1 -1
package/dst/Choice.js
CHANGED
|
@@ -97,6 +97,7 @@ class Choice extends voice_1.default {
|
|
|
97
97
|
// There's a specific need to do so. There might be ${variable} section
|
|
98
98
|
this.triggers.local(`in/voice/${call.id}`, async (event) => {
|
|
99
99
|
const reportingSettingsKey = this.rptsStarted ? 'transcriptRepromptResponse' : 'transcriptResponse';
|
|
100
|
+
this.log.warn('EVENT', event);
|
|
100
101
|
switch (event.params.type) {
|
|
101
102
|
case 'digit':
|
|
102
103
|
case 'digits': {
|
|
@@ -167,6 +168,7 @@ class Choice extends voice_1.default {
|
|
|
167
168
|
});
|
|
168
169
|
await this.resumeRecording(call, sensitiveData);
|
|
169
170
|
// There might be hooks after this step which we will try to avoid
|
|
171
|
+
this.log.warn('Choice params', params);
|
|
170
172
|
return this.exitStep(exitId, this.exitChoiceData('voice', params), longRecognition);
|
|
171
173
|
}
|
|
172
174
|
else if (this.rptsHasMore({ repromptsList }) &&
|