@vgroup/dialbox 0.4.107 → 0.4.109

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.
@@ -1941,7 +1941,7 @@ class CallProgressComponent {
1941
1941
  this.isRinging = true;
1942
1942
  }
1943
1943
  else if (!incomingData?.id && this.isRinging) {
1944
- // this.incomingAudio.pause();
1944
+ this.incomingAudio.pause();
1945
1945
  this.incomingAudio.currentTime = 0;
1946
1946
  this.isRinging = false;
1947
1947
  }
@@ -1958,6 +1958,9 @@ class CallProgressComponent {
1958
1958
  this.cdr.detectChanges();
1959
1959
  this.currentCallList = [];
1960
1960
  this.currentCall = {};
1961
+ this.incomingAudio.pause();
1962
+ this.incomingAudio.currentTime = 0;
1963
+ this.isRinging = false;
1961
1964
  this.isCallInProgress = false;
1962
1965
  if (this.call) {
1963
1966
  this.call.disconnect();