@vgroup/dialbox 0.3.14 → 0.3.15

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,7 +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.connect({ conferenceName: this.conferenceName });
1635
+ return this.device.connectdevice.connect({
1636
+ params: {
1637
+ Token: this.conferenceCallInfo.conferenceId,
1638
+ ConferenceName: this.conferenceCallInfo.conferenceName
1639
+ },
1640
+ });
1636
1641
  }
1637
1642
  }
1638
1643
  TwilioService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TwilioService, deps: [{ token: i1.HttpClient }, { token: ExtensionService }, { token: NotificationService }], target: i0.ɵɵFactoryTarget.Injectable });
@@ -3120,7 +3125,7 @@ class DialboxComponent {
3120
3125
  // const data = JSON.parse(incomingCallData.data);
3121
3126
  console.log("WS Event Received:", incomingCallData);
3122
3127
  console.log("WS Event Received:", incomingCallData.data);
3123
- this.twilioService.conferenceName = incomingCallData.conferenceName;
3128
+ this.twilioService.conferenceCallInfo = incomingCallData;
3124
3129
  let participants = [];
3125
3130
  if (!!incomingCallData.participants) {
3126
3131
  participants = incomingCallData.participants.length > 0 ? incomingCallData.participants.filter((item) => !item.isLeft) : [];