Skip to content

Commit 8873f31

Browse files
Merge pull request #295308 from jamescadd/acs-caller-transferor-info-update
Updates for callerInfoChanged and transferorInfoChanged
2 parents e9bc662 + 83f8726 commit 8873f31

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ call.on('mutedByOthers', () => {
325325
326326
### Event: `callerInfoChanged`
327327
328-
The `callerInfoChanged` event happens when caller information was updated.
328+
The `callerInfoChanged` event happens when caller information was updated. This occurs when a caller changes their display name.
329329
330330
**How might your application react to the event?**
331331
Application can update caller information.
@@ -340,7 +340,7 @@ call.on('callerInfoChanged', () => {
340340
341341
### Event: `transferorInfoChanged`
342342
343-
The `transferorInfoChanged` event happens when transferor information was updated.
343+
The `transferorInfoChanged` event happens when transferor information was updated. This occurs when a transferor changes their display name.
344344
345345
**How might your application react to the event?**
346346
Application can update transferor information.

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,7 @@ transfer.on('stateChanged', () => {
148148
```
149149

150150
### Initial Caller and Transferor information
151-
In case of call transfer or forward scenario incoming call object contains information about initial caller and transferor agents.
152-
Transferor agent could be Azure Communication Calling user or Teams user or Voice Application (Call Queue and etc.)
151+
When forwarding or transferring a call, `transferInfo` is populated with information about the prior call state. This includes `callerInfo` which describes the initial caller and `transferorInfo` which describes the entity transferring or forwarding the call. For example, if an ACS user places a call to a Teams call queue which then distributes the call to a M365 user, the `callerInfo` would specify the ACS user and the `transferorInfo` would specify the Teams call queue. Callers and transferors have the ability to update their displayName, and if this occurs the callerInfoChanged or transferorInfoChanged events will fire. For more information on change events see [Event: callerInfoChanged](../../events.md?pivots=platform-web#event-callerinfochanged) and [Event: transferorInfoChanged](../../events.md?pivots=platform-web#event-transferorinfochanged). This applies to all calls and for any identity (BYOI or M365).
153152
```js
154153
const incomingCallHandler = async (args: { incomingCall: IncomingCall }) => {
155154
const incomingCall = args.incomingCall;

0 commit comments

Comments
 (0)