@onereach/step-voice 7.0.20 → 7.0.21-VOIC1692.0

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/Transfer.d.ts CHANGED
@@ -29,6 +29,7 @@ interface INPUT {
29
29
  sipPassword?: string;
30
30
  sipProfile?: SIP_PROFILE;
31
31
  muteRecording?: boolean;
32
+ disableRingback?: boolean;
32
33
  }
33
34
  interface EVENT extends VoiceEvent {
34
35
  originateDisposition?: string;
package/dst/Transfer.js CHANGED
@@ -52,7 +52,7 @@ class Transfer extends voice_1.default {
52
52
  return this.exitFlow();
53
53
  });
54
54
  this.triggers.otherwise(async () => {
55
- const { phoneNumber, sessionTimeout, destination, sipHeaders = [], sipHost, sipUser, sipPassword, sipProfile, refer, withReplaces, replacesConversation, replacesConversationThread, gatewaySettingsMode, from, muteRecording, } = this.data;
55
+ const { phoneNumber, sessionTimeout, destination, sipHeaders = [], sipHost, sipUser, sipPassword, sipProfile, refer, withReplaces, replacesConversation, replacesConversationThread, gatewaySettingsMode, from, muteRecording, disableRingback, } = this.data;
56
56
  const destinationIsSip = (/^sip:/i).test(destination);
57
57
  const destinationIsUser = (/^user:/i).test(destination);
58
58
  const callerID = phoneNumber;
@@ -114,6 +114,7 @@ class Transfer extends voice_1.default {
114
114
  gateway,
115
115
  timeout,
116
116
  maxLoops,
117
+ ...(disableRingback && { ringback: 'silence_stream://-1' }),
117
118
  ...(replacesDialog && { replacesDialog }),
118
119
  }
119
120
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/step-voice",
3
- "version": "7.0.20",
3
+ "version": "7.0.21-VOIC1692.0",
4
4
  "author": "Roman Zolotarov <roman.zolotarov@onereach.com>",
5
5
  "contributors": [
6
6
  "Roman Zolotarov",