@vgroup/dialbox 0.4.151 → 0.4.152
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 +3 -1
- package/esm2020/lib/service/extension.service.mjs +2 -2
- package/fesm2015/vgroup-dialbox.mjs +4 -1
- package/fesm2015/vgroup-dialbox.mjs.map +1 -1
- package/fesm2020/vgroup-dialbox.mjs +3 -1
- package/fesm2020/vgroup-dialbox.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -728,7 +728,7 @@ class ExtensionService {
|
|
|
728
728
|
});
|
|
729
729
|
return this.ipAddressService.getIpAddressInfo().pipe(switchMap((ipAddressInfo) => {
|
|
730
730
|
const httpOptions = { headers: headers };
|
|
731
|
-
payload = { ...payload, ipAddress: ipAddressInfo?.ip, ipCountry: ipAddressInfo?.country };
|
|
731
|
+
payload = { ...payload, ipAddress: ipAddressInfo?.ip, ipCountry: ipAddressInfo?.address?.country };
|
|
732
732
|
return this.http.post(environment.apiUrl + `/utilities/twilio/incoming/conference/ip`, payload, httpOptions);
|
|
733
733
|
}), catchError((error) => {
|
|
734
734
|
// Properly catch errors
|
|
@@ -2521,6 +2521,7 @@ class CallProgressComponent {
|
|
|
2521
2521
|
// this.call = await this.twilioService.connect('');
|
|
2522
2522
|
this.twilioService.addIncomingParticipant(data?.id, this.twilioService.conferenceCallInfo.conferenceId).subscribe((res) => {
|
|
2523
2523
|
console.log(res, 'bhhhhhhhhhhhhhhhhhhh');
|
|
2524
|
+
this.incomeingCallSocketService.pause();
|
|
2524
2525
|
this.isCurrentIncomingCallList.push(data?.id || data?.participantId);
|
|
2525
2526
|
data.isAcceptCall = true;
|
|
2526
2527
|
// this.currentCall = data;
|
|
@@ -2534,6 +2535,7 @@ class CallProgressComponent {
|
|
|
2534
2535
|
data.isAcceptCall = true;
|
|
2535
2536
|
// this.currentCall = data;
|
|
2536
2537
|
this.setIncomingCallStatus(data);
|
|
2538
|
+
this.incomeingCallSocketService.pause();
|
|
2537
2539
|
}
|
|
2538
2540
|
// } else if(data?.status == 'ringing'){
|
|
2539
2541
|
// this.twilioService.addIncomingParticipant(data?.id, this.twilioService.conferenceCallInfo.conferenceId).subscribe((data: any) => {
|