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