@onereach/step-voice 7.0.9-VOIC1575.2 → 7.0.9-VOIC1575.7
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/Initiate Call.js +40 -1
- package/package.json +1 -1
package/dst/Initiate Call.js
CHANGED
|
@@ -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
|
}
|