@vgroup/dialbox 0.2.73 → 0.2.74
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 +18 -7
- package/esm2020/lib/dialbox.component.mjs +2 -2
- package/fesm2015/vgroup-dialbox.mjs +19 -8
- package/fesm2015/vgroup-dialbox.mjs.map +1 -1
- package/fesm2020/vgroup-dialbox.mjs +18 -7
- package/fesm2020/vgroup-dialbox.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -2032,7 +2032,8 @@ class CallProgressComponent {
|
|
|
2032
2032
|
this.incomingCallDiv = true;
|
|
2033
2033
|
this.cdr.detectChanges();
|
|
2034
2034
|
}
|
|
2035
|
-
else {
|
|
2035
|
+
else if (changes['callData'].currentValue?.displayNum || changes['callData'].currentValue?.from) {
|
|
2036
|
+
console.log('test-startCall123');
|
|
2036
2037
|
this.startCall(changes['callData'].currentValue);
|
|
2037
2038
|
}
|
|
2038
2039
|
}
|
|
@@ -2200,7 +2201,8 @@ class CallProgressComponent {
|
|
|
2200
2201
|
this.stopTimer();
|
|
2201
2202
|
});
|
|
2202
2203
|
this.call?.on('disconnect', (item) => {
|
|
2203
|
-
|
|
2204
|
+
console.log('test-disconnect');
|
|
2205
|
+
this.endCall();
|
|
2204
2206
|
});
|
|
2205
2207
|
this.call?.on('ringing', () => {
|
|
2206
2208
|
});
|
|
@@ -2296,13 +2298,18 @@ class CallProgressComponent {
|
|
|
2296
2298
|
console.log('Held call exists:', !!this.heldCall);
|
|
2297
2299
|
// Leaving conference state when ending current call action
|
|
2298
2300
|
this.isConference = false;
|
|
2299
|
-
if (this.call) {
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2301
|
+
// if (this.call) {
|
|
2302
|
+
// this.call.disconnect();
|
|
2303
|
+
// this.call.reject();
|
|
2304
|
+
// this.call = undefined;
|
|
2305
|
+
// }
|
|
2303
2306
|
this.showRingAnimation = false;
|
|
2304
2307
|
this.stopTimer();
|
|
2305
2308
|
if (this.heldCall) {
|
|
2309
|
+
if (this.call) {
|
|
2310
|
+
this.call.disconnect();
|
|
2311
|
+
this.call = undefined;
|
|
2312
|
+
}
|
|
2306
2313
|
console.log('Resuming held call:', this.heldCall.parameters['From']);
|
|
2307
2314
|
// Promote held call
|
|
2308
2315
|
this.call = this.heldCall;
|
|
@@ -2330,6 +2337,10 @@ class CallProgressComponent {
|
|
|
2330
2337
|
console.log('No held call, ending completely');
|
|
2331
2338
|
console.log('test6');
|
|
2332
2339
|
this.endCallEvent.emit();
|
|
2340
|
+
if (this.call) {
|
|
2341
|
+
this.call.disconnect();
|
|
2342
|
+
this.call = undefined;
|
|
2343
|
+
}
|
|
2333
2344
|
this.maximiseDialpad();
|
|
2334
2345
|
}
|
|
2335
2346
|
}
|
|
@@ -3384,7 +3395,7 @@ class DialboxComponent {
|
|
|
3384
3395
|
try {
|
|
3385
3396
|
console.log('Ending call');
|
|
3386
3397
|
console.log('dd8');
|
|
3387
|
-
|
|
3398
|
+
this.isCallInProgress = false;
|
|
3388
3399
|
this.filteredContactList = [];
|
|
3389
3400
|
// Reset call data
|
|
3390
3401
|
this.callData = {
|