@vgroup/dialbox 0.4.161 → 0.4.163
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.
- package/esm2020/lib/components/call-progress/call-progress.component.mjs +9 -11
- package/fesm2015/vgroup-dialbox.mjs +8 -10
- package/fesm2015/vgroup-dialbox.mjs.map +1 -1
- package/fesm2020/vgroup-dialbox.mjs +8 -10
- package/fesm2020/vgroup-dialbox.mjs.map +1 -1
- package/lib/components/call-progress/call-progress.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1975,18 +1975,16 @@ class CallProgressComponent {
|
|
|
1975
1975
|
}
|
|
1976
1976
|
getStatus(res) {
|
|
1977
1977
|
// const statusList = ["answered", "participant-hold", "participant-mute", "participant-join", "queued", "in-progress", "initiated", 'ringing', '"connected"'];
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
// } else if (res.direction == "incoming-call") {
|
|
1981
|
-
// return this.isCurrentIncomingCallList.includes(res.id);
|
|
1982
|
-
// } else {
|
|
1983
|
-
// return false;
|
|
1984
|
-
// }
|
|
1985
|
-
if (res.incomingStatus == 'answered' && res.direction == "incoming-call") {
|
|
1986
|
-
return true;
|
|
1978
|
+
if (res.direction == "incoming-call") {
|
|
1979
|
+
return this.incomeingCallSocketService.isCurrentIncomingCallList.includes(res.id);
|
|
1987
1980
|
}
|
|
1988
1981
|
else {
|
|
1989
|
-
|
|
1982
|
+
if (res.status == 'answered' && res.direction == "incoming-call") {
|
|
1983
|
+
return true;
|
|
1984
|
+
}
|
|
1985
|
+
else {
|
|
1986
|
+
return false;
|
|
1987
|
+
}
|
|
1990
1988
|
}
|
|
1991
1989
|
}
|
|
1992
1990
|
// private createAudioFromBase64(base64: string, mimeType = 'audio/mpeg'): HTMLAudioElement {
|