@vgroup/dialbox 0.4.156 → 0.4.158

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.
@@ -2537,7 +2537,7 @@ class CallProgressComponent {
2537
2537
  ipCountry: '',
2538
2538
  callStatus: 'answered',
2539
2539
  deviceId: this.deviceId,
2540
- conferenceId: this.conferenceId || data.conferenceId || 'no'
2540
+ conferenceId: this.conferenceId || data?.conferenceId || 'no'
2541
2541
  };
2542
2542
  this.extensionService.setIncomingCallStatus(payload).subscribe(async (res) => {
2543
2543
  this.call = await this.twilioService.connect(res.conferenceId);
@@ -3353,6 +3353,7 @@ class DialboxComponent {
3353
3353
  this._isDialpadHidden = true;
3354
3354
  // Let the library decide to auto-open on incoming call without host wiring
3355
3355
  this.autoOpenOnIncoming = true;
3356
+ this.isIncomingCallnotification = false;
3356
3357
  this.conferenceCallInfo = {
3357
3358
  "createdAt": "Tue Dec 30 07:53:51 UTC 2025",
3358
3359
  "conferenceName": "conf_6953850f1522800c4f3cc715",
@@ -3731,7 +3732,7 @@ class DialboxComponent {
3731
3732
  else {
3732
3733
  incomingCallData['isFirstCall'] = true;
3733
3734
  console.log('dd1');
3734
- this.isCallInProgress = true;
3735
+ // this.isCallInProgress = true;
3735
3736
  this.isDialpadHidden = false;
3736
3737
  this.callData.phone = incomingCallData.parameters['From'];
3737
3738
  console.log('dd2');
@@ -3799,8 +3800,10 @@ class DialboxComponent {
3799
3800
  // deviceId: this.deviceId,
3800
3801
  // conferenceId: this.incomingCallnotification.data.data.conferenceId || 'no'
3801
3802
  // }
3802
- this.isCallInProgress = true;
3803
3803
  this.incomingCallsList.push({ direction: "incoming-call", img: 'assets/images/user.jpg', isIncomingCall: true, isHold: false, isConference: false, isAcceptCall: false, dial: true, phone: this.incomingCallnotification.data.data?.fromNumber, participantId: this.incomingCallnotification.data.data?.participantId, name: this.incomingCallnotification.data.data?.fromName, time: '', id: this.incomingCallnotification.data.data?.participantId });
3804
+ if (this.incomingCallnotification.data.data?.participantId) {
3805
+ this.isCallInProgress = true;
3806
+ }
3804
3807
  // this.extensionService.setIncomingCallStatus(payload).subscribe((res: any) => {
3805
3808
  // console.log(res)
3806
3809
  // })