@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.
|
@@ -1900,7 +1900,7 @@ class CallProgressComponent {
|
|
|
1900
1900
|
console.log('currentCallList', this.currentCallList);
|
|
1901
1901
|
}
|
|
1902
1902
|
else if (!((_k = this.newIncomingCallsList) === null || _k === void 0 ? void 0 : _k.length)) {
|
|
1903
|
-
if (this.
|
|
1903
|
+
if (this.isRinging) {
|
|
1904
1904
|
this.incomingAudio.pause();
|
|
1905
1905
|
}
|
|
1906
1906
|
this.isRinging = false;
|
|
@@ -1909,6 +1909,10 @@ class CallProgressComponent {
|
|
|
1909
1909
|
this.cdr.detectChanges();
|
|
1910
1910
|
this.currentCallList = [];
|
|
1911
1911
|
this.currentCall = {};
|
|
1912
|
+
this.incomingAudio.pause();
|
|
1913
|
+
this.incomingAudio.currentTime = 0;
|
|
1914
|
+
this.incomingAudio.volume = 0;
|
|
1915
|
+
this.isRinging = false;
|
|
1912
1916
|
this.isCallInProgress = false;
|
|
1913
1917
|
if (this.call) {
|
|
1914
1918
|
this.call.disconnect();
|