@vgroup/dialbox 0.4.120 → 0.4.121

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.
@@ -1975,9 +1975,9 @@ class CallProgressComponent {
1975
1975
  // console.log(e);
1976
1976
  // }
1977
1977
  }
1978
- if (changes['conferenceCallInfo'].currentValue) {
1978
+ if (changes['conferenceCallInfo'].currentValue && this.conferenceCallInfo && changes['conferenceCallInfo'].previousValue.conferenceSid != changes['conferenceCallInfo'].currentValue.conferenceSid) {
1979
1979
  this.isConference = true;
1980
- this.conferenceCallInfo = changes['conferenceCallInfo'].currentValue;
1980
+ console.log(this.conferenceCallInfo);
1981
1981
  this.conferenceCallInfo.participants.forEach((item, index) => {
1982
1982
  let callInfo = {
1983
1983
  from: this.selectedCallerId?.number,
@@ -1988,6 +1988,7 @@ class CallProgressComponent {
1988
1988
  direction: item.direction,
1989
1989
  status: ''
1990
1990
  };
1991
+ console.log(callInfo);
1991
1992
  if (index == 0) {
1992
1993
  this.startCall(callInfo);
1993
1994
  }