@onereach/step-voice 7.0.2-VOIC1438.0 → 7.0.2-VOIC1438.1
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 +14 -4
- 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,
|
|
@@ -198,11 +203,16 @@ class InitiateCall extends voice_1.default {
|
|
|
198
203
|
});
|
|
199
204
|
}
|
|
200
205
|
else {
|
|
201
|
-
await this.thread.emitAsync({
|
|
202
|
-
|
|
203
|
-
|
|
206
|
+
/* await this.thread.emitAsync({
|
|
207
|
+
target: 'provider',
|
|
208
|
+
name: 'out/voice/originate/v2',
|
|
209
|
+
params
|
|
210
|
+
}) */
|
|
211
|
+
const command = {
|
|
212
|
+
name: 'meet-ops',
|
|
204
213
|
params
|
|
205
|
-
}
|
|
214
|
+
};
|
|
215
|
+
await this.sendCommands(call, [command]);
|
|
206
216
|
}
|
|
207
217
|
});
|
|
208
218
|
}
|