@vgroup/dialbox 0.4.135 → 0.4.136

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.
@@ -1978,31 +1978,30 @@ class CallProgressComponent {
1978
1978
  // console.log(e);
1979
1979
  // }
1980
1980
  }
1981
- if (changes['conferenceCallInfo']?.currentValue && this.conferenceCallInfo && changes['conferenceCallInfo']?.previousValue?.conferenceSid != changes['conferenceCallInfo']?.currentValue?.conferenceSid) {
1982
- this.isConference = true;
1983
- console.log(this.conferenceCallInfo, '222222222222222');
1984
- this.conferenceCallInfo.participants.forEach(async (item, index) => {
1985
- // setTimeout(async() => {
1986
- let callInfo = {
1987
- from: this.selectedCallerId?.number,
1988
- phone: item.direction == "outgoing-call" ? item.to : item.from,
1989
- img: '',
1990
- name: item.direction == "outgoing-call" ? (item.toName || item.to) : (item.fromName || item.from),
1991
- to: item.direction == "outgoing-call" ? item.to : item.from,
1992
- direction: item.direction,
1993
- status: ''
1994
- };
1995
- console.log(callInfo, 'callInfo33333333333');
1996
- if (index == 0) {
1997
- this.currentCallList.push(callInfo);
1998
- await this.startCall(callInfo);
1999
- }
2000
- else {
2001
- await this.callContact(callInfo);
2002
- }
2003
- // },1000);
2004
- });
2005
- }
1981
+ // if(changes['conferenceCallInfo']?.currentValue && this.conferenceCallInfo && changes['conferenceCallInfo']?.previousValue?.conferenceSid != changes['conferenceCallInfo']?.currentValue?.conferenceSid) {
1982
+ // this.isConference = true
1983
+ // console.log(this.conferenceCallInfo,'222222222222222')
1984
+ // this.conferenceCallInfo.participants.forEach(async(item: any, index: number) => {
1985
+ // // setTimeout(async() => {
1986
+ // let callInfo = {
1987
+ // from: this.selectedCallerId?.number,
1988
+ // phone: item.direction == "outgoing-call" ? item.to : item.from,
1989
+ // img: '',
1990
+ // name: item.direction == "outgoing-call" ? (item.toName || item.to) : (item.fromName || item.from),
1991
+ // to: item.direction == "outgoing-call" ? item.to : item.from,
1992
+ // direction: item.direction,
1993
+ // status: ''
1994
+ // }
1995
+ // console.log(callInfo,'callInfo33333333333')
1996
+ // if(index == 0) {
1997
+ // this.currentCallList.push(callInfo)
1998
+ // await this.startCall(callInfo);
1999
+ // } else {
2000
+ // await this.callContact(callInfo);
2001
+ // }
2002
+ // // },1000);
2003
+ // })
2004
+ // }
2006
2005
  }
2007
2006
  getStatus(res) {
2008
2007
  // const statusList = ["answered", "participant-hold", "participant-mute", "participant-join", "queued", "in-progress", "initiated", 'ringing', '"connected"'];