Forum Discussion

andrewhemingway's avatar
andrewhemingway
Copper Contributor
Feb 12, 2021

Subscribe to call answered events

I have a contact centre application (Awaken scripting by Awaken Intelligence) and wish to integrate it into teams. The idea being when the user receives a call via PSTN and they answer the call in team, the scripting application can hear the event of the interaction being answered and launch the appropriate agent guidance to the user. This event would need to be raised with the appropriate data such as DDI dialled, customer number, queue it was routed via etc. 

 

Is there already an API to allow me to subscribe to interaction answered events for a user? 

    • andrewhemingway's avatar
      andrewhemingway
      Copper Contributor

      Saonti-MSFT this is fine for obtaining information about a call once I am aware the call exists (as you need the call ID). I am specifically looking for a way to subscribe to events occurring and something like an onMessage event being raised that I can subscribe to. I don't want to poll and then look for anything. Does this type of mechanism exist? Or does it always require me to create a bot that is capable of hearing these answer events to then invoke my code from the bot?

  • I'm looking for similar capabilities in Teams. Knowing about these event APIs, if they exist, would be really helpful to me too.

Resources