Comments on: Trusted Application API (Skype for Business) – Messaging and Webhook (Callback)/2017/04/20/skype-for-business-trusted-application-api-messaging-bot-with-webhook-callback/Professional Development, Data ScienceSun, 26 Jul 2020 16:01:02 +0000hourly1http://wordpress.com/By: Carmelina/2017/04/20/skype-for-business-trusted-application-api-messaging-bot-with-webhook-callback/comment-page-1/#comment-33267Sun, 26 Jul 2020 16:01:02 +0000http://blogs.msdn.microsoft.com/tsmatsuz/?p=5765#comment-33267Good article! We will be linking to this great content on our site. Keep up the great writing.|

Like

]]>
By: Mefteh Werghemmi/2017/04/20/skype-for-business-trusted-application-api-messaging-bot-with-webhook-callback/comment-page-1/#comment-4313Wed, 08 Aug 2018 12:37:40 +0000http://blogs.msdn.microsoft.com/tsmatsuz/?p=5765#comment-4313Hi Matsuzaki,

First of all many thanks for this post, really very helpful !!
I am trying to to develop an app based on Trusted Application and want to play a prompt in a certain time.
in the documentation here the way to interact with the api to play prompt is not that clear, by any chance did you palyed with this ?

https://ucwa.skype.com/trustedapplicationapi/Resources/service_stopPrompts.html

Many thanks in advance !
mefteh.

Like

]]>
By: Mark Bajema/2017/04/20/skype-for-business-trusted-application-api-messaging-bot-with-webhook-callback/comment-page-1/#comment-461Fri, 16 Jun 2017 12:55:43 +0000http://blogs.msdn.microsoft.com/tsmatsuz/?p=5765#comment-461I was able to get the Web API project working as well as the trusted API Quick Start samples. I want to be able to initiate a conversation with the bot from S4B. I have the callback controller receiving the request and am handling the HandleIncomingInstantMessagingCall event like so:

appendpoint.HandleIncomingInstantMessagingCall += (a, e) =>
{
IncomingInviteEventArgs arg = e;
IMessagingInvitation invite = e.NewInvite;
IConversation conversation = invite.RelatedConversation;
conversation.MessagingCall.SendMessageAsync($”Response”);
};

But the MessagingCall is null. How can I send a message back in response?

Like

]]>
By: Tsuyoshi Matsuzaki/2017/04/20/skype-for-business-trusted-application-api-messaging-bot-with-webhook-callback/comment-page-1/#comment-460Tue, 06 Jun 2017 05:30:55 +0000http://blogs.msdn.microsoft.com/tsmatsuz/?p=5765#comment-460In reply to Hélio Sá Moreira.

Sorry, but currently (in current preview) the scenarios are so limited, and the incoming message (the user-initiated message) seems to be not supported now. (Incoming voice is not also available now.)
Please wait for the update.

Like

]]>
By: Hélio Sá Moreira/2017/04/20/skype-for-business-trusted-application-api-messaging-bot-with-webhook-callback/comment-page-1/#comment-459Sat, 03 Jun 2017 12:55:08 +0000http://blogs.msdn.microsoft.com/tsmatsuz/?p=5765#comment-459Hi Tsuyoshi,

First of all thank you for the post, information of the highest quality.

I was able to apply exactly the scenario you described, everything worked perfectly. But now I’m looking for how to start a conversation from user to bot (not from the “/Home/Invitation” – starting from the BOT to the user.)

There’s any how to handle this?

Thanks in advance

Hélio Sá Moreira

Like

]]>
By: Marquis Hu/2017/04/20/skype-for-business-trusted-application-api-messaging-bot-with-webhook-callback/comment-page-1/#comment-458Thu, 01 Jun 2017 09:14:08 +0000http://blogs.msdn.microsoft.com/tsmatsuz/?p=5765#comment-458Hi Matsuzaki,
sorry for disturb again, want to know is there any documentation on setting up IMBridge sample? I am getting below error when get the conversation with the endpoint (var conversation = client.conversationsManager.getConversation(“sip:sample@xxxx.onmicrosoft.com”);) after sign in web client app with anonymous token. Just followed the Trusted Application API QUick Start Samples about IMBridge, i can sign in the page with anonymous token and the service:discover is “https://apacmeetings.resources.lync.com/platformService/discover?anonymousContext….”, seems like it’s different with anonymous meeting join case “https://noammeetings.resources.lync.com/platformService/discover?anonymousMeetingJoinContext”. didn’t know how to implement the step about “Start imbridge job listner” (https://avstart1.cloudapp.net/IncomingMessagingBridgeJob).

{
“code”: “RequestFailed”,
“req”: {
“nobatch”: true,
“type”: “POST”,
“url”: “https://webpooldm20r04.infra.lync.com/ucwa/psanon/v1/applications/112289910155/communication/messagingInvitations”,
“priority”: 0,
“headers”: {
“Accept”: “application/json”,
“Content-Type”: “application/json”,
“Authorization”: “_Bearer psat=”,
“X-Ms-Namespace”: “internal”,
“X-MS-Correlation-Id”: “1510261747”,
“Client-Request-Id”: “WebSDK/1510261747”,
“X-Ms-SDK-Version”: “SkypeWeb/0.4.499 master”,
“X-Ms-SDK-Session”: “c92235222d689”
}
},
“rsp”: {
“status”: 403,
“statusText”: “Forbidden”,
“headers”: {
“X-Ms-Server-Fqdn”: “DM20R04FES02.infra.lync.com”,
“Via”: “1.1 DM20R04FES07.infra.lync.com RtcExt”,
“Client-Request-Id”: “WebSDK/1510261747”,
“X-Ms-Client-Request-Id”: “b236121d-bc77-4b15-94b9-ac62980dbc92”,
“Content-Length”: “76”,
“Pragma”: “no-cache”,
“X-Ms-Namespace”: “internal”,
“Date”: “Thu, 01 Jun 2017 08:20:27 GMT”,
“Content-Type”: “application/json”,
“Cache-Control”: “no-cache”,
“X-Ms-Correlation-Id”: “ed19d9ec-97a1-46a4-af91-33b5123833a4, 8fe2d902-4ed4-40ed-9c87-f5914562ab95”,
“Expires”: “-1”
},
“responseText”: “{“code”:”Forbidden”,”message”:”The requested operation isn\u0027t allowed.”}”,
“data”: {
“code”: “Forbidden”,
“message”: “The requested operation isn’t allowed.”
}
}
}

Like

]]>