File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
articles/communication-services/how-tos/calling-sdk/includes/transfer-calls Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -145,4 +145,17 @@ transfer.on('stateChanged', () => {
145
145
call .hangUp ();
146
146
}
147
147
});
148
+ ```
149
+
150
+ ### 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.)
153
+ ``` js
154
+ const incomingCallHandler = async (args : { incomingCall: IncomingCall }) => {
155
+ const incomingCall = args .incomingCall ;
156
+ // Get information about initial caller
157
+ const callerInfo = incomingCall .callerInfo
158
+ // Get information about initial caller
159
+ const transferorInfo = incomingCall .transferorInfo
160
+ };
148
161
```
You can’t perform that action at this time.
0 commit comments