@vgroup/dialbox 0.2.74 → 0.2.76

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.
@@ -2202,7 +2202,7 @@ class CallProgressComponent {
2202
2202
  });
2203
2203
  this.call?.on('disconnect', (item) => {
2204
2204
  console.log('test-disconnect');
2205
- this.endCall();
2205
+ // this.endCall();
2206
2206
  });
2207
2207
  this.call?.on('ringing', () => {
2208
2208
  });
@@ -2339,7 +2339,7 @@ class CallProgressComponent {
2339
2339
  this.endCallEvent.emit();
2340
2340
  if (this.call) {
2341
2341
  this.call.disconnect();
2342
- this.call = undefined;
2342
+ // this.call = undefined;
2343
2343
  }
2344
2344
  this.maximiseDialpad();
2345
2345
  }
@@ -2381,9 +2381,9 @@ class CallProgressComponent {
2381
2381
  hold: true
2382
2382
  });
2383
2383
  // Put current call on hold
2384
- this.heldCall = this.call;
2385
- this.isCallOnHold = true;
2386
- this.heldCall.mute(true);
2384
+ // this.heldCall = this.call;
2385
+ // this.isCallOnHold = true;
2386
+ // this.heldCall.mute(true);
2387
2387
  // Close contacts panel and show ring animation
2388
2388
  this.showContactsPanel = false;
2389
2389
  this.showRingAnimation = true;
@@ -2416,6 +2416,7 @@ class CallProgressComponent {
2416
2416
  });
2417
2417
  console.log("Participant added to conference:", phoneNumber);
2418
2418
  this.showRingAnimation = false;
2419
+ this.isConference = true;
2419
2420
  }
2420
2421
  catch (error) {
2421
2422
  console.error('Error adding participant:', error);