Call Control real-time notifications - microsoft-teams

Is it possible today, to get real-time notifications about call control events (ring,accept,hangup, and callerId-CDR for PSTN and teams-S4B calls) ? using a bot or connector ?

Three days after my question, Microsoft announced in MSIgnite 2018 the public preview of the calls and online meetings API in Microsoft Graph. It seems the way to go. What's new in Teams - Ignite Edition Of cource, we need much more information about and help.

Related

How to disable "desktop_notification" messages when using RTM

With RTM connected, when I try to use my account to talk to a bot created by myself with DM, each time I got 3 messages:
"user_typing", "message", "desktop_notification"
Can I suppress "desktop_notification" by applying some settings to my bot?
For me, it seems "message" is good to go.
The Slack Real Time Messaging (RTM) API does have the concept of subscribing to specific events, so the answer to your question is no.
As Erik suggests in his comment, you are best off just ignoring these events in your script -- ideally as early in your logic as possible.
One other thing to note is that with the Event API you can subscribe to specific events. There are pros and cons to both the Event/Web APIs and RTM APIs so I mention this out of completeness. The Event API is not a 1:1 supplement for the RTM API in your case from what I can tell for your use case (for example, you'd need to use the Web API for sending a message and Event API for receiving events -- as opposed to just the RTM API as you have now).

MS Botbuilder and SMS using Bandwidth.com

I'm developing chatbots on MS botbuilder SDK (4). My new client have requirement to create chatbot that is connected to SMS, I was using twilio earlier for that very well but they using Bandwidth.com, so I would like to know what are my options: as i get it botbuilder SDK dont have out of the box connection to this provider, but maybe I can use directline or other approach somehow?
Another option I see is don't use botbuilder and just develop c# web app using Bandwith API.
And in general I'm interested in how we can connect to custom platforms if it's not web-based?
In order to accomplish this, you have a few options. Here is a couple of possibilities. Hopefully, others can chime in with more options for you.
One option is to build what is referred to internally as a "connector". Essentially you need to translate what bot framework speaks activity into whatever bandwidth.com speaks.
Another option is to build an adapter like this one for Alexa.

Chatbot handoff from Messenger to Zendesk

I am developing a customer service chatbot, using Azure's Bot Framework in .NET, using the the Messenger channel. I wanted to know if anyone knows what the best way to handle the handoff to a human on Zendesk (which my platform already uses as its CRM platform). I'm not looking for when to do the handoff, but how to manage what happens next.
What I would love to be able to do would be that so when handoff is needed, a ticket on Zendesk would be created, sending for example a file (the transcript of the conversation so far). Then the agent would be able to solve the customer's problem in that ticket, having a conversation with him, having the bot sending messages back and forth between zendesk and messenger.
I don't know if this has been done before, or if it's at all possible. And I'm free to other solutions to the problem of handling this kind of handoff, without having to create a separate "chat" for the customer service agents to use, like it's explained on the azure documentation.
Thank you for your patience while I researched this. I found this resource that I believe will meet your needs. This functionality is built off of the Bot Framework utilizing .NET (it's also available for Nodejs). There are two available methods to connect a client to an agent.
The first (which should apply to you) aggregates different channels into one allowing an agent to pickup in the same channel where the bot handed off. The second opens a new channel when an agent joins the conversation.
Intermediator Bot
I was able to spin up a bot using this and confirmed the bot was listening for outside traffic.
Hope this helps.
Steve.
One thing that I'm about to try is this:
Bot conversation ends.
Bot service calls an Azure Function, passing the conversation content.
The Azure Function integrates with Trello API, creating an entry on a Kanban board.
So, instead of Trello as I want to do, you can make a call to the Zendesk API.
I'm writing a few articles about developing Azure bots. The next two actually are dealing with these very things. You can find out more here. sign up if you'd like to get notified over the next week or so when the new tutorials are online.
Hope that helps!
Tim

Integrating Microsoft teams into my windows application

I have a desktop app to which I want to integrate Microsoft Teams.
Does Teams provides an API for the integration.I read few articles but they all explained how to create apps in Teams and use of Microsoft Graph API to get information about Teams/channel etc.
Could someone help me with this, if they had any solution.
few of my finding on the internet:
https://blog.thoughtstuff.co.uk/2017/04/microsoft-actively-working-on-a-teams-api/
https://developer.microsoft.com/en-us/graph/graph-explorer#
https://microsoftteams.uservoice.com/forums/555103-public/suggestions/16972258-developer-api-to-read-create-teams-and-channels-in?page=2&per_page=20
There are two distinct ways of accomplishing this:
Using the Microsoft Graph API to create/read/write information. Currently the only thing we support is the ability to add a team to an existing Office 365 Group, the ability to create and read channels within a Team, and to post a message to a team/channel. We are adding more APIs, including the ability to read messages from a channel, but it's not available yet (and we don't have a public ETA). The ability to read and write channel messages from a channel should allow you do what you want.
Controls that you can embed in an application that read/write the data for you. That's a common developer request and we will deliver that eventually, but it's further out.

Webhooks with Microsoft Dynamics CRM?

We have started to use Microsoft CRM for all our client information however we would like to have the most up to date information from CRM for internal tools.
The way we could do this is by running a tool that looks at the data every x minutes and keeps all updated records in the database.
Could someone give a explination on how we could use webhooks for this and if it actually is possible. This would be a lot more efficient to be notified when there is a change rather than checking all the time.
I have researched and found a few projects but they were all in beta - invite only or not available.
In Dynamics CRM Webhooks are not available as intended in the normal definition.
But you can use plugins to implement your notifications. From MSDN:
https://msdn.microsoft.com/en-us/library/gg328490.aspx
Another way to think about plug-ins is that they are handlers for
events fired by Microsoft Dynamics CRM. You can subscribe, or
register, a plug-in to a known set of events to have your code run
when the event occurs.

Resources