Skip to content

Commit 0115223

Browse files
PR Comments addressed
1 parent b1457a7 commit 0115223

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

articles/communication-services/how-tos/calling-sdk/includes/active-call-transfer/active-call-transfer.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ Active Call Transfer is a feature of the core `CallAgent` API. This guide talks
1515

1616
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).
1717

18-
### Fetching your Active Calls
18+
### Fetch your Active Call
1919

2020
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.
2121

2222
```js
2323
const activeCallDetails = await callAgent.getActiveCallDetails();
2424
```
2525

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 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.
2727

28-
### Switching Active Calls
28+
### Switch your Active Call
2929

3030
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.
3131

@@ -45,9 +45,9 @@ const activeCallDetails = await callAgent.getActiveCallDetails();
4545
const call = await callAgent.activeCallTransfer(activeCallDetails, {isTransfer: false}); // <-- isTransfer: false - does not remove the original client.
4646
```
4747

48-
### Subscribing to Active Call Notification events
48+
### Subscribe to Active Call Notification events
4949

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.
5151

5252
```js
5353
callAgent.on("activeCallsUpdated", (args) => {

0 commit comments

Comments
 (0)