@vgroup/dialbox 0.4.125 → 0.4.126

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.
@@ -1979,23 +1979,25 @@ class CallProgressComponent {
1979
1979
  this.isConference = true;
1980
1980
  console.log(this.conferenceCallInfo, '222222222222222');
1981
1981
  this.conferenceCallInfo.participants.forEach(async (item, index) => {
1982
- let callInfo = {
1983
- from: this.selectedCallerId?.number,
1984
- phone: item.direction == "outgoing-call" ? item.to : item.from,
1985
- img: '',
1986
- name: item.direction == "outgoing-call" ? (item.toName || item.to) : (item.fromName || item.from),
1987
- to: item.direction == "outgoing-call" ? item.to : item.from,
1988
- direction: item.direction,
1989
- status: ''
1990
- };
1991
- console.log(callInfo, 'callInfo33333333333');
1992
- this.currentCallList.push(callInfo);
1993
- if (index == 0) {
1994
- await this.startCall(callInfo);
1995
- }
1996
- else {
1997
- await this.callContact(callInfo);
1998
- }
1982
+ setTimeout(async () => {
1983
+ let callInfo = {
1984
+ from: this.selectedCallerId?.number,
1985
+ phone: item.direction == "outgoing-call" ? item.to : item.from,
1986
+ img: '',
1987
+ name: item.direction == "outgoing-call" ? (item.toName || item.to) : (item.fromName || item.from),
1988
+ to: item.direction == "outgoing-call" ? item.to : item.from,
1989
+ direction: item.direction,
1990
+ status: ''
1991
+ };
1992
+ console.log(callInfo, 'callInfo33333333333');
1993
+ this.currentCallList.push(callInfo);
1994
+ if (index == 0) {
1995
+ await this.startCall(callInfo);
1996
+ }
1997
+ else {
1998
+ await this.callContact(callInfo);
1999
+ }
2000
+ }, index * 1000);
1999
2001
  });
2000
2002
  }
2001
2003
  }