@vgroup/dialbox 0.4.138 → 0.4.140
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 -4
- package/esm2020/lib/service/extension.service.mjs +5 -3
- package/esm2020/lib/service/twilio.service.mjs +1 -1
- package/fesm2015/vgroup-dialbox.mjs +7 -5
- package/fesm2015/vgroup-dialbox.mjs.map +1 -1
- package/fesm2020/vgroup-dialbox.mjs +7 -5
- package/fesm2020/vgroup-dialbox.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -600,12 +600,14 @@ class ExtensionService {
|
|
|
600
600
|
addParticipant(payload) {
|
|
601
601
|
const headers = new HttpHeaders({
|
|
602
602
|
'Content-Type': 'application/json',
|
|
603
|
-
'Auth-Key': 'Bearer ' + localStorage.getItem('ext_token')
|
|
603
|
+
'Auth-Key': 'Bearer ' + localStorage.getItem('ext_token'),
|
|
604
|
+
'ip-address': this.ipAddressInfo.ip,
|
|
605
|
+
'ip-country': this.ipAddressInfo.country
|
|
604
606
|
});
|
|
605
607
|
const httpOptions = { headers: headers };
|
|
606
608
|
console.log(payload, 'payload');
|
|
607
609
|
payload = { ...payload, proxy: this.ipAddressInfo.proxy.toString() };
|
|
608
|
-
payload = { ...payload,
|
|
610
|
+
payload = { ...payload, countrycode: this.ipAddressInfo.address.countryCode.toString() };
|
|
609
611
|
return this.http.post(environment.apiUrl + '/utilities/ext/ur/add/participant', payload, httpOptions);
|
|
610
612
|
}
|
|
611
613
|
holdParticipant(payload) {
|
|
@@ -2128,7 +2130,7 @@ class CallProgressComponent {
|
|
|
2128
2130
|
conferenceId: this.conferenceId,
|
|
2129
2131
|
userId: this.userId,
|
|
2130
2132
|
proxy: '',
|
|
2131
|
-
|
|
2133
|
+
countrycode: '',
|
|
2132
2134
|
});
|
|
2133
2135
|
console.log('Initial participantId:', this.addRes?.participantId);
|
|
2134
2136
|
return true;
|
|
@@ -2561,7 +2563,7 @@ class CallProgressComponent {
|
|
|
2561
2563
|
conferenceId: this.conferenceId,
|
|
2562
2564
|
userId: this.userId,
|
|
2563
2565
|
proxy: '',
|
|
2564
|
-
|
|
2566
|
+
countrycode: '',
|
|
2565
2567
|
});
|
|
2566
2568
|
this.onholdOrUnholdParticipant({
|
|
2567
2569
|
participantId: [data?.participantId],
|
|
@@ -2633,7 +2635,7 @@ class CallProgressComponent {
|
|
|
2633
2635
|
conferenceId: this.conferenceId,
|
|
2634
2636
|
userId: this.userId,
|
|
2635
2637
|
proxy: '',
|
|
2636
|
-
|
|
2638
|
+
countrycode: '',
|
|
2637
2639
|
});
|
|
2638
2640
|
// this.callData = {
|
|
2639
2641
|
// ...this.callData,
|