@vgroup/dialbox 0.4.108 → 0.4.110
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.
|
@@ -1949,7 +1949,7 @@ class CallProgressComponent {
|
|
|
1949
1949
|
console.log('currentCallList', this.currentCallList);
|
|
1950
1950
|
}
|
|
1951
1951
|
else if (!this.newIncomingCallsList?.length) {
|
|
1952
|
-
if (this.
|
|
1952
|
+
if (this.isRinging) {
|
|
1953
1953
|
this.incomingAudio.pause();
|
|
1954
1954
|
}
|
|
1955
1955
|
this.isRinging = false;
|
|
@@ -1958,6 +1958,10 @@ 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.incomingAudio.volume = 0;
|
|
1964
|
+
this.isRinging = false;
|
|
1961
1965
|
this.isCallInProgress = false;
|
|
1962
1966
|
if (this.call) {
|
|
1963
1967
|
this.call.disconnect();
|