Skip to content

Commit e68d76d

Browse files
committed
Bugfixes
1 parent 80f0671 commit e68d76d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/communication-services/how-tos/calling-sdk/includes/transfer-calls/transfer-calls-web.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ transfer.on('stateChanged', () => {
100100
### Transfer to voicemail:
101101

102102
1. There's already a connected call between the *transferor* and the *transferee*.
103-
2. The voicemail id of the *transfer target* is known.
103+
2. The Teams User Identifier of the *target participant voicemail* is known.
104104
3. The *transferor* decides to transfer the call with the *transferee* to the voicemail with *voicemail id*.
105105
4. The *transferor* calls the `transfer` API.
106106
6. The *transferee* receives the transfer request.
@@ -109,12 +109,12 @@ To transfer a current call, you can use the `transfer` API.
109109

110110
```js
111111
// transfer to the target call specifying the call id
112-
const id = { voicemailId: <VOICEMAIL_ID> };
112+
const id = { targetParticipantVoicemail: <TEAMS_USER_ID> };
113113
```
114114

115115
```js
116116
// call transfer API
117-
const transfer = callTransferApi.transfer({ voicemailId: <VOICEMAIL_ID> });
117+
const transfer = callTransferApi.transfer({ target: id });
118118
```
119119

120120
The `transfer` API allows you to subscribe to `stateChanged`. It also comes with a transfer `state` and `error` properties
@@ -128,7 +128,7 @@ const transferError = transfer.error; // transfer error code that describes the
128128
```
129129

130130
The *transferee* can listen to a `transferAccepted` event. The listener for this event has a `TransferEventArgs` which contains the call object of the new transfer call
131-
between the *transferee* and the voicemail *transfer target*.
131+
between the *transferee* and the *target participant voicemail*.
132132

133133
```js
134134
// Transferee can subscribe to the transferAccepted event
@@ -137,7 +137,7 @@ callTransferApi.on('transferAccepted', args => {
137137
});
138138
```
139139

140-
The *transferor* can subscribe to events for change of the state of the transfer. If the call to the *transferee* was successfully connected with voicemail *transfer target*, *transferor* can hang up the original call with *transferee*.
140+
The *transferor* can subscribe to events for change of the state of the transfer. If the call to the *transferee* was successfully connected with *target participant voicemail*, *transferor* can hang up the original call with *transferee*.
141141

142142
```js
143143
transfer.on('stateChanged', () => {

0 commit comments

Comments
 (0)