@vgroup/dialbox 0.1.115 → 0.1.116

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.
@@ -1941,7 +1941,7 @@ class CallProgressComponent {
1941
1941
  this.disbaleEndCallBtn = true;
1942
1942
  this.showClearBtn = false;
1943
1943
  this.isCollops = false;
1944
- this.isOutgoingCall = false;
1944
+ this.isOutgoingCall = true;
1945
1945
  // Incoming call variables
1946
1946
  this.incomingCallDiv = false;
1947
1947
  //@Output() showCallProgressEvent: EventEmitter<void> = new EventEmitter<void>();
@@ -2138,7 +2138,7 @@ class CallProgressComponent {
2138
2138
  this.call?.on('disconnect', (item) => {
2139
2139
  console.log('test4');
2140
2140
  console.log(item);
2141
- if (this.call?.direction === "OUTGOING") {
2141
+ if (this.isOutgoingCall) {
2142
2142
  this.endCall();
2143
2143
  }
2144
2144
  else {