Closed tangochris closed 6 years ago
This seems like the expected behavior to me, but will ping the S4B team and see what they have to say.
@JasonSowers If you sent me an email, would you expect it to be delivered, even if I didn't have my email client open at the time? Of course. That's the situation we're talking about. Unless we are having an active conversation, SFB messages disappear as if they had never been sent.
Totally get what you are saying, just my guess that teams doesn't behave like that.
I'm seeing the same behavior, which is not expected, as other clients doesn't behave this way.
This is blocking us as well. The underlying service error seems to be the following:
{ Error:
{ Code: 'ServiceError',
Message: 'A 480 (Temporarily Unavailable) response was received from
the network and the operation failed. See the exception details for more information.'
}
}
@intranetchris @wictorwilen @v46 All channels are independent of bot framework, even the internal channels like Skype, Skype for Business and MS Teams. If one or more channels behave a specific way, this does not mean all channels behave like that. All channels have their own independent features. This is a question for Skype for Business as the behavior of channels themselves is well outside of the scope of the Bot Framework SDK. In turn, this is well outside the scope of this forum. If Skype for Business does not accept messages on the user's behalf while they are not logged in, there is nothing that can be done within the SDK to change that. If a channel does not behave the way you would like, you need to get in contact with the channel and ask them if they can put your feature request on their roadmap. The bot framework SDK just connects to the channels it does not enforce how they behave.
Bot Info
This issue applies to all SFB bots built on the Tangowork platform, but we'll provide the bot info for one of our test environments:
Issue Description
We are implementing a Skype for Business chatbot at the head office of an 80,000-employee organization.
If a proactive message is sent while SFB is closed, or even if the current conversation window inside SFB is closed, it will never be delivered.
Our proactive message code works fine in Facebook Messenger, Skype, Slack, SMS, and Teams. It's only Skype for Business that has an issue.
Code Example
Our code looks like his:
Addresses look like this:
Reproduction Steps
Expected Behavior
Actual Results
The SFB user never receives the message.
On the bot side we see an error when the proactive message is sent while the conversation window is closed:
We've tried omitting the
conversation
part of the address, and this works fine in other messengers. However, in SFB, if we omit theconversation
part of the address and send a proactive message to SFB:Because our proactive messages work fine on other channels, we believe this is a bug with botbuilder's integration with Skype for Business. But if it's not a bug, we'd be grateful for some advice on what we're doing wrong.