SOLVED

Microsoft Teams Incoming/Active Call Transfer

Copper Contributor

Hi,

Case: I need to create a MS Teams Tab app with abitlity to Transfer the incoming/active call to another user from my tenant (I know that MS Teams has native Transfer button, but still, this is the requirement).

Flow: User clicks on Tab -> gets the list of users -> choose 1 -> click Transfer button -> the call is transfered.

1. To do it via Graph API - I need to somehow retrieve the call id. Is there any possible way to do that?
2. Is there any other way to transfer the call programatically?
3. Even if any of you know a very complex way to do that, please, mention it here.

11 Replies

@Meghana-MSFT - Thank you for your answer!

However, seems that both ways let us to retrive the call id of the already completed call:
"The call record is available only after the associated call is completed".

In my case, I need to somehow transfer the incoming/active call. It seems to be slightly harder..

best response confirmed by VeremiiCG (Copper Contributor)
Thank you for the answer!
Ideally I need it to be a Tab App, but seems this is impossible with current API and tools, so I'll try to go this way with BOT.
Yes, we can perform above operations using Bot only.
@Meghana-MSFT Is there any way to listen to incoming calls using MS Teams Bot?
Is there any sample? What if I want to, let's say, auto-redirect the call to another user if I'm not answering?

Or to implement kind of answering machine.
Thanks, but we have the same issue here, we need to have call-id, so that's why now I'm using bot but still there is an issue, because I can't find any way to make bot listen to incoming calls on my account.
Could you please confirm if you have configured this to receive incoming notifications - https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-calling-meeting/csharp#:~...
Well, yeah, I've tried to.

However, I haven't found any suitable method in TeamsActivityHandler to override to be able to catch the incoming calls. Is that even possible?
1 best response

Accepted Solutions