Skip to content

Commit db1a7f4

Browse files
#2536852: Update Transfer to Voicemail
1 parent 264203e commit db1a7f4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,20 +101,20 @@ transfer.on('stateChanged', () => {
101101

102102
1. There's already a connected call between the *transferor* and the *transferee*.
103103
2. The Teams User Identifier of the *target participant voicemail* is known.
104-
3. The *transferor* decides to transfer the call with the *transferee* to the voicemail with *voicemail id*.
104+
3. The *transferor* decides to transfer the call with the *transferee* to the *target patricipant voicemail* with their Teams User Identifier.
105105
4. The *transferor* calls the `transfer` API.
106106
6. The *transferee* receives the transfer request.
107107

108108
To transfer a current call, you can use the `transfer` API.
109109

110110
```js
111-
// transfer to the target call specifying the call id
112-
const id = { targetParticipantVoicemail: <TEAMS_USER_ID> };
111+
// transfer to the target participant voicemail specified by their Teams User Id
112+
const id: MicrosoftTeamsUserIdentifier = { microsoftTeamsUserId: userId}
113113
```
114114

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

120120
The `transfer` API allows you to subscribe to `stateChanged`. It also comes with a transfer `state` and `error` properties

0 commit comments

Comments
 (0)