@onereach/step-voice 7.0.9-VOIC1575.2 → 7.0.9-VOIC1575.8

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.
@@ -100,7 +100,46 @@ class InitiateCall extends voice_1.default {
100
100
  type: asr.serverSettings.engine
101
101
  }
102
102
  }]
103
- : []
103
+ : [],
104
+ {
105
+ name: 'whisper.hold',
106
+ params: {
107
+ id: headers && headers['X-Leg-A']
108
+ }
109
+ },
110
+ {
111
+ name: 'playback',
112
+ params: {
113
+ 'sections': [
114
+ {
115
+ 'text': '<speak>This is a live transfer from the automated system. Stand by for connection.</speak>',
116
+ 'url': '',
117
+ 'bargeInVoice': false,
118
+ 'bargeInKeypad': false,
119
+ 'textType': 'ssml',
120
+ 'provider': 'polly',
121
+ 'voiceId': 'Joanna',
122
+ 'engine': 'standard',
123
+ 'isStream': false,
124
+ },
125
+ ],
126
+ 'useWhisperFeature': false,
127
+ 'sensitiveData': {},
128
+ resumeAfterGc: true,
129
+ }
130
+ },
131
+ {
132
+ name: 'whisper.hold_off',
133
+ params: {
134
+ id: headers && headers['X-Leg-A']
135
+ }
136
+ },
137
+ {
138
+ name: 'whisper.transfer',
139
+ params: {
140
+ id: headers && headers['X-Leg-A']
141
+ }
142
+ },
104
143
  ]);
105
144
  return this.exitStep('success');
106
145
  }
@@ -179,7 +218,7 @@ class InitiateCall extends voice_1.default {
179
218
  timeout: originateTimeout,
180
219
  version: 2,
181
220
  sessionExpireTime: this.session.expireTime,
182
- useWhisperFeature: true
221
+ useWhisperFeature: false
183
222
  };
184
223
  if (otherCallRef) {
185
224
  // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/step-voice",
3
- "version": "7.0.9-VOIC1575.2",
3
+ "version": "7.0.9-VOIC1575.8",
4
4
  "author": "Roman Zolotarov <roman.zolotarov@onereach.com>",
5
5
  "contributors": [
6
6
  "Roman Zolotarov",