@vgroup/dialbox 0.7.84 → 0.7.86
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 +2 -3
- package/esm2020/lib/environments/environments.mjs +12 -12
- package/fesm2015/vgroup-dialbox.mjs +15 -14
- package/fesm2015/vgroup-dialbox.mjs.map +1 -1
- package/fesm2020/vgroup-dialbox.mjs +15 -14
- package/fesm2020/vgroup-dialbox.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -62,23 +62,23 @@ const keypad = [
|
|
|
62
62
|
];
|
|
63
63
|
|
|
64
64
|
const environment = {
|
|
65
|
-
abb: "
|
|
65
|
+
abb: "t",
|
|
66
66
|
production: false,
|
|
67
67
|
secureCookies: true,
|
|
68
|
-
feUrl: 'https://
|
|
69
|
-
apiUrl: 'https://
|
|
70
|
-
websocketUrl: 'wss://
|
|
68
|
+
feUrl: 'https://test.vgroupinc.com:91/',
|
|
69
|
+
apiUrl: 'https://apis.vgroupinc.com/test_softphone',
|
|
70
|
+
websocketUrl: 'wss://apis.vgroupinc.com/test_softphone/',
|
|
71
71
|
captchaKey: "6LfpOmEaAAAAAGsI6JXlMzOl3b7rW4YmYXFDjldD",
|
|
72
|
-
stripePublishableKey: "
|
|
72
|
+
stripePublishableKey: "pk_test_51NbMVaA3guus6fhlTuCV5ycFTIJmwgN38dDUf9pNPfM319x5CkLbV6EbTQaZiNOrRsfR16RWLE8hQmR0eZFTBqTy00Wlsug4qS",
|
|
73
73
|
sessionTimeout: 15,
|
|
74
74
|
deviceType: "web",
|
|
75
|
-
appVersion: "2.
|
|
76
|
-
channelId: '
|
|
75
|
+
appVersion: "2.3",
|
|
76
|
+
channelId: '61481b12e138eb7dc3007579',
|
|
77
77
|
c2c_support_point_id: '60424735f74ac306c1bfa900',
|
|
78
|
-
c2c_support_channel_id: '
|
|
79
|
-
c2c_point_url: 'https://
|
|
80
|
-
c2c_call_label_id: '
|
|
81
|
-
c2c_email_label_id: '
|
|
78
|
+
c2c_support_channel_id: '677f6726be93ab507fbbfdf0',
|
|
79
|
+
c2c_point_url: 'https://app.contexttocall.com/assets/cdn/c2c.js',
|
|
80
|
+
c2c_call_label_id: '6NU5fKE2mGTyXDC3yhmK',
|
|
81
|
+
c2c_email_label_id: 'YPMamj8RvsGORVvqXWyc',
|
|
82
82
|
radarAPIKey: 'prj_live_sk_569b6f639edde6120a26f703511c61aaecd3f7ef',
|
|
83
83
|
firebase: {
|
|
84
84
|
apiKey: "AIzaSyCA8LSPrqlDq_thk26LhBQexAQeY6pkU5Y",
|
|
@@ -3602,7 +3602,7 @@ class CallProgressComponent {
|
|
|
3602
3602
|
else if (this.missCallInfo?.data?.data?.recordId == data?.id && !callToAccept.parameters?.CallSid) {
|
|
3603
3603
|
clearInterval(intervalId);
|
|
3604
3604
|
const sid = callToAccept.parameters?.CallSid;
|
|
3605
|
-
this.
|
|
3605
|
+
this.isConnectingIncomingCallId = '';
|
|
3606
3606
|
this.isConnectingIncomingCallId = '';
|
|
3607
3607
|
this.acceptedCallList = this.acceptedCallList.filter(c => c.callSid !== sid);
|
|
3608
3608
|
this.twilioService.acceptedCallList = this.twilioService.acceptedCallList.filter((c) => c.parameters?.CallSid !== sid);
|
|
@@ -4054,7 +4054,9 @@ class CallProgressComponent {
|
|
|
4054
4054
|
console.log(ev);
|
|
4055
4055
|
try {
|
|
4056
4056
|
let selfCall = this.newIncomingCallsList.find((res) => res?.conferenceId == this.currentCall?.conferenceId)?.participants.find((resData) => ((this.deviceNumberList.includes(resData?.from) && resData?.client) || (this.deviceNumberList.includes(resData?.to) && resData?.direction == 'incoming-call' && resData?.host)) && !resData?.isLeft);
|
|
4057
|
+
console.log(selfCall);
|
|
4057
4058
|
let device = this.twilioService.getIncomingCallById(selfCall?.callSid || selfCall?.clientSid);
|
|
4059
|
+
console.log(device);
|
|
4058
4060
|
if (device && device?._status == 'open') {
|
|
4059
4061
|
device.sendDigits(String(ev.key));
|
|
4060
4062
|
}
|
|
@@ -5181,7 +5183,7 @@ class DialboxComponent {
|
|
|
5181
5183
|
if (this.twilioService.incomingCallToken != this.updatedTwilioToken) {
|
|
5182
5184
|
this.twilioService.incomingCallToken = this.updatedTwilioToken;
|
|
5183
5185
|
this.twilioService.tokenInitialized = true;
|
|
5184
|
-
this.twilioService.initializeTwilioDevice(localStorage.getItem('deviceId'));
|
|
5186
|
+
this.twilioService.initializeTwilioDevice(this.deviceId || localStorage.getItem('deviceId'));
|
|
5185
5187
|
}
|
|
5186
5188
|
}
|
|
5187
5189
|
if (changes['userId']?.currentValue && this.userId) {
|
|
@@ -5888,7 +5890,6 @@ class DialboxComponent {
|
|
|
5888
5890
|
this.incomingCallsList = [];
|
|
5889
5891
|
// Clean up Twilio device when component is destroyed
|
|
5890
5892
|
if (this.twilioService['device']) {
|
|
5891
|
-
console.log('Destroying Twilio device...');
|
|
5892
5893
|
this.twilioService['device'].disconnectAll();
|
|
5893
5894
|
this.twilioService['device'].destroy();
|
|
5894
5895
|
}
|