@vgroup/dialbox 0.5.40 → 0.5.42
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 +5 -2
- package/esm2020/lib/dialbox.component.mjs +3 -2
- package/fesm2015/vgroup-dialbox.mjs +18 -13
- package/fesm2015/vgroup-dialbox.mjs.map +1 -1
- package/fesm2020/vgroup-dialbox.mjs +6 -2
- package/fesm2020/vgroup-dialbox.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1833,7 +1833,10 @@ class CallProgressComponent {
|
|
|
1833
1833
|
this.newIncomingCallsList.forEach((callInfo, i) => {
|
|
1834
1834
|
this.conferenceId = i == 0 ? this.newIncomingCallsList[i].conferenceId : this.conferenceId;
|
|
1835
1835
|
this.newIncomingCallsList[i].participants.forEach(async (res) => {
|
|
1836
|
-
let contact =
|
|
1836
|
+
let contact = {};
|
|
1837
|
+
if (this.contacts?.length) {
|
|
1838
|
+
contact = this.contacts.find((resData) => resData?.numbersList[0]?.number == (res.direction == "incoming-call" ? res?.from : res?.to));
|
|
1839
|
+
}
|
|
1837
1840
|
if (this.currentCallList.length > 0) {
|
|
1838
1841
|
let index = this.currentCallList.findIndex((item) => item.id == res.id);
|
|
1839
1842
|
if (index == -1 && !res.isLeft) {
|
|
@@ -3618,8 +3621,9 @@ class DialboxComponent {
|
|
|
3618
3621
|
if (!this.isIncomingCallnotification) {
|
|
3619
3622
|
this.callData = [];
|
|
3620
3623
|
this.incomingCallsList = [];
|
|
3624
|
+
this.isCallInProgress = false;
|
|
3625
|
+
this.twilioService.device?.disconnectAll();
|
|
3621
3626
|
}
|
|
3622
|
-
// this.isCallInProgress = false;
|
|
3623
3627
|
}
|
|
3624
3628
|
// incomingCallData.participants.length ? incomingCallData.participants.filter((item: any) => !item.isLeft) : [];
|
|
3625
3629
|
// this.initializeTwilio();
|