@vgroup/dialbox 0.2.79 → 0.2.80
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.
- package/esm2020/lib/components/call-progress/call-progress.component.mjs +4 -2
- package/esm2020/lib/service/incomeing-call-socket.service.mjs +2 -2
- package/fesm2015/vgroup-dialbox.mjs +4 -2
- package/fesm2015/vgroup-dialbox.mjs.map +1 -1
- package/fesm2020/vgroup-dialbox.mjs +4 -2
- package/fesm2020/vgroup-dialbox.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1647,7 +1647,7 @@ class IncomeingCallSocketService {
|
|
|
1647
1647
|
}
|
|
1648
1648
|
connect() {
|
|
1649
1649
|
// Replace with your WebSocket URL
|
|
1650
|
-
this.socket = new WebSocket(`${environment.websocketUrl}
|
|
1650
|
+
this.socket = new WebSocket(`${environment.websocketUrl}incoming/call`);
|
|
1651
1651
|
this.socket.onopen = () => {
|
|
1652
1652
|
console.log("WebSocket connected");
|
|
1653
1653
|
// Authenticate (if needed)
|
|
@@ -2500,7 +2500,7 @@ class CallProgressComponent {
|
|
|
2500
2500
|
}
|
|
2501
2501
|
getAllParticipants(conferenceSid) {
|
|
2502
2502
|
this.extensionService.getAllParticipants(conferenceSid).subscribe((res) => {
|
|
2503
|
-
|
|
2503
|
+
this.allParticipentList = res.participants;
|
|
2504
2504
|
});
|
|
2505
2505
|
}
|
|
2506
2506
|
// acceptConcurrentCall(incomingCall: any) {
|
|
@@ -2555,6 +2555,8 @@ class CallProgressComponent {
|
|
|
2555
2555
|
async swapCalls() {
|
|
2556
2556
|
if (!this.heldCall || !this.call)
|
|
2557
2557
|
return;
|
|
2558
|
+
console.log(this.call, 'this.call');
|
|
2559
|
+
console.log(this.heldCall, 'this.heldCall');
|
|
2558
2560
|
await this.onholdOrUnholdParticipant({
|
|
2559
2561
|
participantId: this.call?.callInfo?.participantId,
|
|
2560
2562
|
conferenceId: this.conferenceId,
|