File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
articles/communication-services/how-tos/calling-sdk/includes/transfer-calls Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -101,20 +101,20 @@ transfer.on('stateChanged', () => {
101
101
102
102
1 . There's already a connected call between the * transferor* and the * transferee* .
103
103
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 .
105
105
4 . The * transferor* calls the ` transfer ` API.
106
106
6 . The * transferee* receives the transfer request.
107
107
108
108
To transfer a current call, you can use the ` transfer ` API.
109
109
110
110
``` 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}
113
113
```
114
114
115
115
``` js
116
116
// call transfer API
117
- const transfer = callTransferApi .transfer ({ target : id });
117
+ const transfer = callTransferApi .transfer ({ targetParticipantVoicemail : id });
118
118
```
119
119
120
120
The ` transfer ` API allows you to subscribe to ` stateChanged ` . It also comes with a transfer ` state ` and ` error ` properties
You can’t perform that action at this time.
0 commit comments