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