@vgroup/dialbox 0.3.15 → 0.3.17

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.
@@ -1632,11 +1632,12 @@ class TwilioService {
1632
1632
  return this.http.get(environment.apiUrl + '/utilities/softphone/check/countryCode/' + dialledNo, httpOptions);
1633
1633
  }
1634
1634
  connect(data) {
1635
- return this.device.connectdevice.connect({
1635
+ return this.device.connect({
1636
1636
  params: {
1637
1637
  Token: this.conferenceCallInfo.conferenceId,
1638
1638
  ConferenceName: this.conferenceCallInfo.conferenceName
1639
1639
  },
1640
+ rtcConstraints: { audio: { deviceId: 'default' } },
1640
1641
  });
1641
1642
  }
1642
1643
  }
@@ -3145,6 +3146,9 @@ class DialboxComponent {
3145
3146
  // let device = await this.twilioService.connect('');
3146
3147
  // console.log(device, 'callConnect');
3147
3148
  }
3149
+ else {
3150
+ this.callData = [];
3151
+ }
3148
3152
  // this.initializeTwilio();
3149
3153
  // if (incomingCallData.type === "/incoming/call") {
3150
3154
  // if (incomingCallData) {