@vgroup/dialbox 0.7.58 → 0.7.60

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.
@@ -1556,6 +1556,7 @@ class TwilioService {
1556
1556
  this.refreshDeviceToken();
1557
1557
  });
1558
1558
  this.device.on('incoming', (call) => {
1559
+ console.log('Twilio Device incoming call event:', call);
1559
1560
  if (this.acceptedCallList.length > 0 || this.primaryHasCall) {
1560
1561
  console.log('primary device: concurrent call arriving – spare device will handle it');
1561
1562
  this.isShowIncomingCall = true;
@@ -2854,9 +2855,9 @@ class CallProgressComponent {
2854
2855
  deviceId: this.deviceId,
2855
2856
  clientSid: this.call?.parameters['CallSid']
2856
2857
  });
2857
- if (addClientParticipantRes?.status != 200 && response?.message?.length) {
2858
- swal("Error", response.message.join("<br/>"), "error");
2859
- }
2858
+ // if(addClientParticipantRes?.status != 200) {
2859
+ // swal("Error", addClientParticipantRes?.message.join("<br/>"), "error");
2860
+ // }
2860
2861
  this.addRes = await this.addParticipantToCall({
2861
2862
  from: callData?.from,
2862
2863
  route: "OUTGOING",