@vgroup/dialbox 0.6.88 → 0.6.89

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.
@@ -62,23 +62,23 @@ const keypad = [
62
62
  ];
63
63
 
64
64
  const environment = {
65
- abb: "d",
65
+ abb: "t",
66
66
  production: false,
67
67
  secureCookies: true,
68
- feUrl: 'https://dev.vgroupinc.com:91/',
69
- apiUrl: 'https://dev-api-t10.vgroupinc.com/dev_softphone_p91',
70
- websocketUrl: 'wss://dev-api-t10.vgroupinc.com/dev_softphone_p91/',
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: "pk_test_51K6aTuBiNVV2TMlQfmBWY8jziwiDo0IZ3TrqWPqth1m32cpMAAg5Qpi2AlSMDEAX6hCZRBXoTzBB1uQQLc8B4tco00q2SgG6zO",
72
+ stripePublishableKey: "pk_test_51NbMVaA3guus6fhlTuCV5ycFTIJmwgN38dDUf9pNPfM319x5CkLbV6EbTQaZiNOrRsfR16RWLE8hQmR0eZFTBqTy00Wlsug4qS",
73
73
  sessionTimeout: 15,
74
74
  deviceType: "web",
75
75
  appVersion: "2.3",
76
76
  channelId: '61481b12e138eb7dc3007579',
77
77
  c2c_support_point_id: '60424735f74ac306c1bfa900',
78
- c2c_support_channel_id: '677f67f3be93ab507fbbfdfc',
78
+ c2c_support_channel_id: '677f6726be93ab507fbbfdf0',
79
79
  c2c_point_url: 'https://app.contexttocall.com/assets/cdn/c2c.js',
80
- c2c_call_label_id: 'ye2XFLfOHCr12GFVRzPh',
81
- c2c_email_label_id: 'mvjVgOP2VCiYsVovQqdq',
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",
@@ -92,7 +92,7 @@ const environment = {
92
92
  },
93
93
  perspectiveApiKey: 'AIzaSyClf32lvLH4QOy-vOnzLzwSNntKIgapH8s',
94
94
  keycloakURL: 'https://test-keycloak.vgroupinc.com/',
95
- keycloakRealm: 'vgroup-dev',
95
+ keycloakRealm: 'vgroup-test',
96
96
  keycloakClientId: 'c2c-softphone-app'
97
97
  };
98
98
 
@@ -3956,16 +3956,14 @@ class DialboxComponent {
3956
3956
  this.notificationCallList.splice(index, 1);
3957
3957
  }
3958
3958
  this.missCallInfo = this.incomingCallnotification;
3959
- if (this.incomingCallnotification?.data?.data?.status != "accepted") {
3960
- let incomingCallIndex = this.incomingCallsList.findIndex((call) => call?.participantId == this.incomingCallnotification?.data?.data?.recordId || call.participantId == this.incomingCallnotification?.data?.data?.participantId);
3961
- if (incomingCallIndex > -1) {
3962
- this.incomingCallsList.splice(incomingCallIndex, 1);
3963
- this.incomeingCallSocketService.pause();
3964
- this.cdk.detectChanges();
3965
- if (!this.incomingCallsList?.length) {
3966
- console.log('407');
3967
- this.isCallInProgress = false;
3968
- }
3959
+ let incomingCallIndex = this.incomingCallsList.findIndex((call) => (call?.participantId == this.incomingCallnotification?.data?.data?.recordId || call.participantId == this.incomingCallnotification?.data?.data?.participantId) && call?.direction == 'incoming-call');
3960
+ if (incomingCallIndex > -1) {
3961
+ this.incomingCallsList.splice(incomingCallIndex, 1);
3962
+ this.incomeingCallSocketService.pause();
3963
+ this.cdk.detectChanges();
3964
+ if (!this.incomingCallsList?.length) {
3965
+ console.log('407');
3966
+ this.isCallInProgress = false;
3969
3967
  }
3970
3968
  }
3971
3969
  console.log('test', this.incomingCallsList);