You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/communication-services/how-tos/calling-sdk/includes/active-call-transfer/active-call-transfer.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,17 +15,17 @@ Active Call Transfer is a feature of the core `CallAgent` API. This guide talks
15
15
16
16
This guide assumes you went through the QuickStart or that you implemented an application that is able to make and receive calls. If you didn't complete the getting starting guide, refer to our [Quickstart](../../../../quickstarts/voice-video-calling/getting-started-with-calling.md).
17
17
18
-
### Fetching your Active Calls
18
+
### Fetch your Active Call
19
19
20
20
When your user signs to the `CallAgent` there is a new method that you can use to fetch the ongoing calls `getActiveCallDetails` the response will return to you the active call, or active meeting that your users are in.
The function `getActiveCallDetails` a way that you can manually query for this data. Once you have the active call details, you can use it to switch the client to the call that was found. This function returns `undefined` if there is no active call ongoing for your user. You can use this to fetch any ongoing calls when you first sign into the `CallAgent` to pick up on any calls that are already ongoing.
26
+
The function `getActiveCallDetails` a way that you can manually query for this data. Once you have the active call details, you can use it to switch the client to the call that was found. This function returns `undefined` if there is no active call ongoing for your user. You can use `getActiveCallDetails` to fetch any ongoing calls when you first sign into the `CallAgent` to pick up on any calls that are already ongoing.
27
27
28
-
### Switching Active Calls
28
+
### Switch your Active Call
29
29
30
30
Once you have your active call data, you can switch the client over to the new call. This call switching behavior can be done with the `activeCallTransfer` function.
constcall=awaitcallAgent.activeCallTransfer(activeCallDetails, {isTransfer:false}); // <-- isTransfer: false - does not remove the original client.
46
46
```
47
47
48
-
### Subscribing to Active Call Notification events
48
+
### Subscribe to Active Call Notification events
49
49
50
-
There are two new events that you can subscribe to so you can recieve events notifying you of your user joining a call on another client. The first event notifies the application that the user is in a call on another device. This event is also emitted when the user logs into the `CallAgent` if they are on a call already elsewhere.
50
+
There are two new events that you can subscribe to so you can receive events notifying you of your user joining a call on another client. The first event notifies the application that the user is in a call on another device. This event is also emitted when the user logs into the `CallAgent` if they are on a call already elsewhere.
0 commit comments