@vgroup/dialbox 0.4.67 → 0.4.68

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.
@@ -2159,6 +2159,7 @@ class CallProgressComponent {
2159
2159
  },
2160
2160
  rtcConstraints: { audio: { deviceId: 'default' } },
2161
2161
  });
2162
+ this.heldCall = this.call;
2162
2163
  console.log('test98998111111', this.call);
2163
2164
  console.log('testdevice', this.twilioService.device);
2164
2165
  // this.call['callInfo'] = JSON.parse(JSON.stringify(callData));
@@ -2337,12 +2338,11 @@ class CallProgressComponent {
2337
2338
  // conferenceId: this.conferenceId,
2338
2339
  // mute: !this.isMute,
2339
2340
  // })
2340
- this.toggleMic();
2341
+ this.call = this.heldCall;
2342
+ // this.toggleMic()
2341
2343
  this.isMute = !this.isMute;
2342
2344
  console.log('isMute', this.call);
2343
- console.log('isMutedevice', this.twilioService.device);
2344
2345
  (_a = this.call) === null || _a === void 0 ? void 0 : _a.mute(this.isMute);
2345
- this.twilioService.device.mute(this.isMute);
2346
2346
  // if (isConference) {
2347
2347
  this.currentCall.isMute = this.isMute;
2348
2348
  });