@vgroup/dialbox 0.3.40 → 0.3.41
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.
|
@@ -2003,9 +2003,11 @@ class IncomingCallComponent {
|
|
|
2003
2003
|
this.extensionService.getRemoveParticipants(this.incomingCallData.participantId, this.incomingCallData.conferenceId).toPromise();
|
|
2004
2004
|
}
|
|
2005
2005
|
async add(data) {
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2006
|
+
if (data?.status != 'ringing') {
|
|
2007
|
+
let device = await this.twilioService.connect('');
|
|
2008
|
+
console.log(device, 'callConnect');
|
|
2009
|
+
}
|
|
2010
|
+
else if (data?.status == 'ringing') {
|
|
2009
2011
|
this.twilioService.addIncomingParticipant(data?.id, this.twilioService.conferenceCallInfo.conferenceId).subscribe((data) => {
|
|
2010
2012
|
console.log(data, 'bhhhhhhhhhhhhhhhhhhh');
|
|
2011
2013
|
});
|