@vgroup/dialbox 0.4.145 → 0.4.146
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 +4 -2
- package/esm2020/lib/dialbox.component.mjs +3 -3
- package/fesm2015/vgroup-dialbox.mjs +5 -3
- package/fesm2015/vgroup-dialbox.mjs.map +1 -1
- package/fesm2020/vgroup-dialbox.mjs +5 -3
- package/fesm2020/vgroup-dialbox.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1765,7 +1765,9 @@ class CallProgressComponent {
|
|
|
1765
1765
|
try {
|
|
1766
1766
|
// this.incomingAudio = new Audio('../../../assets/phone-ringing.mp3');
|
|
1767
1767
|
// this.incomingAudio['loop'] = true;
|
|
1768
|
-
|
|
1768
|
+
if (this.extensionService.userId) {
|
|
1769
|
+
this.userId = this.extensionService.userId;
|
|
1770
|
+
}
|
|
1769
1771
|
this.twilioService.currentCall.subscribe((incoming) => {
|
|
1770
1772
|
if (!incoming) {
|
|
1771
1773
|
return;
|
|
@@ -3726,12 +3728,12 @@ class DialboxComponent {
|
|
|
3726
3728
|
console.log('incomingCallnotification', changes['incomingCallnotification'].currentValue);
|
|
3727
3729
|
this.isIncomingCallnotification = true;
|
|
3728
3730
|
let payload = {
|
|
3729
|
-
recordId: this.incomingCallnotification.participantId,
|
|
3731
|
+
recordId: this.incomingCallnotification.data.data.participantId,
|
|
3730
3732
|
ipAddress: '',
|
|
3731
3733
|
ipCountry: '',
|
|
3732
3734
|
callStatus: 'answered',
|
|
3733
3735
|
deviceId: this.deviceId,
|
|
3734
|
-
conferenceId: this.incomingCallnotification.conferenceId || 'no'
|
|
3736
|
+
conferenceId: this.incomingCallnotification.data.data.conferenceId || 'no'
|
|
3735
3737
|
};
|
|
3736
3738
|
this.extensionService.setIncomingCallStatus(payload).subscribe((res) => {
|
|
3737
3739
|
console.log(res);
|