Catch call queue call events with Teams Calling SDK

Jeroen H 40 Reputation points
2024-08-01T08:23:15.35+00:00

I'm using the Teams Calling SDK for javascript to get incoming call events for subscribed users. I'd like to get an incoming call event or similar when one or more users are called by a calling queue, even if they don't pick it up.

The SDK's feature list does mention being able to receive and transfer calling queue calls (last two entries under 'Advanced call routing'), so I expect this to be possible. Does anyone have experience with this?

Additionally, if this was possible, I was wondering if I could get the actual caller's phonenumber. The calling queue is technically calling the subscribed user, so I worry that I'll just get the queue number as 'caller number' instead.

Microsoft Teams | Development
{count} votes

2 answers

Sort by: Most helpful
  1. Nivedipa-MSFT 3,646 Reputation points Microsoft External Staff Moderator
    2024-11-15T03:57:52.33+00:00

    @Jeroen H - If you want to answer calls as a Teams user (using the ACS SDK) from a Teams call queue, it's possible as long as the queue is configured to route calls to that Teams user.

    If you're wondering how to register an incoming call event handler as a Teams user, you can refer to this quickstart guide: https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/voice-video-calling/get-started-with-voice-video-calling-custom-teams-client?tabs=uwp&pivots=platform-web

    Regarding your other question about whether the original caller's number is surfaced via the incoming event, we do indeed surface both the original caller's number and the call queue name.

    However, if your question is about receiving incoming call events via Azure Event Grid for a Teams user (using the ACS SDK), such as the events listed below, this feature is not available today.
    User's image Ref Doc: https://learn.microsoft.com/en-us/azure/event-grid/communication-services-voice-video-events#microsoftcommunicationincomingcall

    Thanks, 

    Nivedipa 

    ************************************************************************* 

    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate. 


  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.