Forum Discussion
Intercept incoming call
shaileshbhindi Please take a look at Calls and meetings online bots.
Hi, Thanks for reply!. I have gone through it. Can we test using ngrok this kind of functionality OR it is compulsory require bot to register in Azure?
- shaileshbhindiNov 19, 2019Copper Contributor
Anyone have idea about this? Can ms team calling bot detect OR intercept incoming call for user who has installed this bot?
For example: User A has a bot configured in his ms teams, User B makes a phone call to User A, before User A accept the call, bot should log some information about this calls like caller ID & send message to User A with some details.
- Trinetra-MSFTDec 06, 2019Microsoft
Yes, you can test it by setting up ngrok server.
- shaileshbhindiDec 10, 2019Copper Contributor
Trinetra-MSFT - That I know. But I want some event in bot which is raised on incoming call for user who has configured this bot. Is there any event which occur on incoming call?
This is not like call from user to bot. This is kind of requirement where one user calls to another user & bot intercept that call for getting some information from incoming call.
Thanks.
- Trinetra-MSFTDec 10, 2019Microsoft
shaileshbhindi , You need to register you bot in azure, where your bot requires specific Application or delegated permissions for calling and meeting, However you can set up the sample locally and run it on ngrok.
- shaileshbhindiDec 11, 2019Copper Contributor
Trinetra-MSFT - I did not register to Azure but did in bot framework & set require permission. I am able to call directly to bot from user.
My requirement is when some calls me, my bot will give some information about caller & send me a card/message in teams.
- Trinetra-MSFTDec 13, 2019Microsoft
shaileshbhindi , You can configure your Bot to send an attachment (Adaptive Card or any other card) when your bot respond to the call.
Please refer to these document to check how to send an Adaptive card in attachment