@onereach/step-voice 7.0.2-VOIC1438.0 → 7.0.2-VOIC1438.2
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 +11 -1
- package/package.json +1 -1
package/dst/Initiate Call.js
CHANGED
|
@@ -164,6 +164,11 @@ class InitiateCall extends voice_1.default {
|
|
|
164
164
|
id: call.id,
|
|
165
165
|
from: botNumber,
|
|
166
166
|
to: endUserNumber,
|
|
167
|
+
dialInNumber: endUserNumber,
|
|
168
|
+
dtmfPin: '9907976655286#',
|
|
169
|
+
tonesDuration: 500,
|
|
170
|
+
beforeDelay: 500,
|
|
171
|
+
afterDelay: 500,
|
|
167
172
|
headers: customHeaders,
|
|
168
173
|
spoofCallerId: {
|
|
169
174
|
enableSpoofCallerId,
|
|
@@ -200,9 +205,14 @@ class InitiateCall extends voice_1.default {
|
|
|
200
205
|
else {
|
|
201
206
|
await this.thread.emitAsync({
|
|
202
207
|
target: 'provider',
|
|
203
|
-
name: 'out/voice/originate/
|
|
208
|
+
name: 'out/voice/originate/meet-ops',
|
|
204
209
|
params
|
|
205
210
|
});
|
|
211
|
+
// const command = {
|
|
212
|
+
// name: 'meet-ops',
|
|
213
|
+
// params
|
|
214
|
+
// }
|
|
215
|
+
// await this.sendCommands(call, [command])
|
|
206
216
|
}
|
|
207
217
|
});
|
|
208
218
|
}
|