@vgroup/dialbox 0.4.195 → 0.4.197
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.
|
@@ -3834,9 +3834,11 @@ class DialboxComponent {
|
|
|
3834
3834
|
// }
|
|
3835
3835
|
console.log(',,,,,', this.incomingCallnotification);
|
|
3836
3836
|
if (this.incomingCallnotification.data.content == "IncomingCall") {
|
|
3837
|
+
let callerInfo;
|
|
3837
3838
|
if (this.incomingCallnotification.data.data?.c2cBusiness == 'false') {
|
|
3838
3839
|
this.extensionService.getUserInformation(this.incomingCallnotification.data.data?.participantId).subscribe((resInfo) => {
|
|
3839
3840
|
console.log('uesrInfo', resInfo);
|
|
3841
|
+
callerInfo = resInfo.c2cInformation;
|
|
3840
3842
|
});
|
|
3841
3843
|
}
|
|
3842
3844
|
let incomingCall = {
|
|
@@ -3846,7 +3848,8 @@ class DialboxComponent {
|
|
|
3846
3848
|
participantId: this.incomingCallnotification.data.data?.participantId,
|
|
3847
3849
|
participants: [
|
|
3848
3850
|
{ direction: "incoming-call", img: 'assets/images/user.jpg', isIncomingCall: true, isHold: false, isConference: false, isAcceptCall: false, dial: true, phone: this.incomingCallnotification.data.data?.fromNumber, participantId: this.incomingCallnotification.data.data?.participantId, name: this.incomingCallnotification.data.data?.fromName, time: '', id: this.incomingCallnotification.data.data?.participantId }
|
|
3849
|
-
]
|
|
3851
|
+
],
|
|
3852
|
+
...callerInfo
|
|
3850
3853
|
};
|
|
3851
3854
|
this.incomingCallsList.push(incomingCall);
|
|
3852
3855
|
this.notificationCallList.push(incomingCall);
|