@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
|
@@ -2020,18 +2020,16 @@ class CallProgressComponent {
|
|
|
2020
2020
|
}
|
|
2021
2021
|
getStatus(res) {
|
|
2022
2022
|
// const statusList = ["answered", "participant-hold", "participant-mute", "participant-join", "queued", "in-progress", "initiated", 'ringing', '"connected"'];
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
// } else if (res.direction == "incoming-call") {
|
|
2026
|
-
// return this.isCurrentIncomingCallList.includes(res.id);
|
|
2027
|
-
// } else {
|
|
2028
|
-
// return false;
|
|
2029
|
-
// }
|
|
2030
|
-
if (res.incomingStatus == 'answered' && res.direction == "incoming-call") {
|
|
2031
|
-
return true;
|
|
2023
|
+
if (res.direction == "incoming-call") {
|
|
2024
|
+
return this.incomeingCallSocketService.isCurrentIncomingCallList.includes(res.id);
|
|
2032
2025
|
}
|
|
2033
2026
|
else {
|
|
2034
|
-
|
|
2027
|
+
if (res.status == 'answered' && res.direction == "incoming-call") {
|
|
2028
|
+
return true;
|
|
2029
|
+
}
|
|
2030
|
+
else {
|
|
2031
|
+
return false;
|
|
2032
|
+
}
|
|
2035
2033
|
}
|
|
2036
2034
|
}
|
|
2037
2035
|
// private createAudioFromBase64(base64: string, mimeType = 'audio/mpeg'): HTMLAudioElement {
|