{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/3982","repository_url":"https://api.github.com/repos/Microsoft/BotBuilder","labels_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/3982/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/3982/comments","events_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/3982/events","html_url":"https://github.com/Microsoft/BotBuilder/issues/3982","id":285394273,"node_id":"MDU6SXNzdWUyODUzOTQyNzM=","number":3982,"title":"[Skype for Business] SfB client does not receive message, when Message is sent from bot to SfB client, if SfB client window is minimized, or not in Right-Down corner of screen, or has multiple conversation added in SfB client.","user":{"login":"ganesh1190","id":31585550,"node_id":"MDQ6VXNlcjMxNTg1NTUw","avatar_url":"https://avatars0.githubusercontent.com/u/31585550?v=4","gravatar_id":"","url":"https://api.github.com/users/ganesh1190","html_url":"https://github.com/ganesh1190","followers_url":"https://api.github.com/users/ganesh1190/followers","following_url":"https://api.github.com/users/ganesh1190/following{/other_user}","gists_url":"https://api.github.com/users/ganesh1190/gists{/gist_id}","starred_url":"https://api.github.com/users/ganesh1190/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ganesh1190/subscriptions","organizations_url":"https://api.github.com/users/ganesh1190/orgs","repos_url":"https://api.github.com/users/ganesh1190/repos","events_url":"https://api.github.com/users/ganesh1190/events{/privacy}","received_events_url":"https://api.github.com/users/ganesh1190/received_events","type":"User","site_admin":false},"labels":[{"id":429202607,"node_id":"MDU6TGFiZWw0MjkyMDI2MDc=","url":"https://api.github.com/repos/Microsoft/BotBuilder/labels/Node.js%20SDK","name":"Node.js SDK","color":"6eff54","default":false},{"id":602304410,"node_id":"MDU6TGFiZWw2MDIzMDQ0MTA=","url":"https://api.github.com/repos/Microsoft/BotBuilder/labels/Skype%20for%20Business","name":"Skype for Business","color":"5319e7","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-01-02T10:14:12Z","updated_at":"2018-10-02T01:56:06Z","closed_at":"2018-10-02T01:56:06Z","author_association":"NONE","body":"## Bot Info\r\n* SDK Platform: Node.js\r\n* botbuilder Version: 3.8.4\r\n* Active Channels: Skype for Business\r\n* Deployment Environment: Azure Bot Service, Azure App Service\r\n\r\n## Issue Description\r\nWe have created a bot for Skype for Business to start conversation with SFB clients.  In our case,  when conversation is initiated from bot using following code, SFB client does not receive the message from bot if  - \r\nuser has minimized SFB window, \r\nOR\r\nif SFB client window is not near right-lower corner of the screen.\r\nOR\r\nIf  then only it is able to receive the message from bot.\r\nOR\r\nif user has multiple conversation added in the SFB client, \r\n\r\nSFB client receives the message from Bot if -\r\nUser has it SFB window in right -Down corner of the screen, and it has only one coversation (i.e Conversation with Bot) in the SFB client window.\r\n\r\n\r\n## Code Example\r\nvar restify = require('restify');\r\nvar builder = require('botbuilder');\r\n\r\nvar server = restify.createServer();\r\nserver.listen(process.env.port || process.env.PORT || 3978, function () {\r\n   console.log('%s listening to %s', server.name, server.url); \r\n});\r\n  \r\n// Create chat connector for communicating with the Bot Framework Service\r\nvar connector = new builder.ChatConnector({\r\n    appId: //GUID,\r\n    appPassword: password,\r\n    stateEndpoint: process.env.BotStateEndpoint,\r\n    openIdMetadata: process.env.BotOpenIdMetadata \r\n});\r\n\r\n// Listen for messages from users \r\nserver.post('/api/messages', connector.listen());\r\n\r\nvar inMemoryStorage = new builder.MemoryBotStorage();\r\n\r\n// Create your bot with a function to receive messages from the user\r\nvar bot = new builder.UniversalBot(connector)\r\n                    .set('storage', inMemoryStorage);\r\n\r\nlet addr1 =\r\n{\r\n    channelId: 'skypeforbusiness',\r\n    user: {\r\n        id: 'sip:xyz@abcd.com'\r\n    },\r\n    channelData: {\r\n        tenant: {\r\n            id: //GUID\r\n        }\r\n    },\r\n    bot:\r\n    {\r\n        id: 'sip:botid@abcd.com',\r\n        name: 'BotName'\r\n    },\r\n    serviceUrl: 'https://api.skypeforbusiness.com/platformservice/botframework/'\r\n};\r\n\r\nbot.loadSession(addr1, function (err, session) {\r\n    session.send('hi00');\r\n});\r\n\r\nbot.dialog('/', intents);\r\n\r\n## Reproduction Steps\r\n1.  Minimize the SFB client window.\r\n2.  Start bot to initiate the conversation  , and send the message to SFB client .\r\n          OR\r\n1. Add another conversation to SFB client (with another contact except BOT). \r\n2.  Start bot and initiate the conversation from bot to send the message to SFB client.\r\n\r\n**In our case we stat debugging in VSCode and attaching debugger to NGRok )**\r\n\r\n## Expected Behavior\r\nWhen Bot is started , SFB client must receive message sent from the bot, whether client window in minimized, or it has multiple conversation adde , or SFB client window it is anywhere on the screen .\r\n\r\n## Actual Results\r\nWhen message is sent from the Bot, if SFB client window is not in Right-Down corner of screen,or if user has multiple conversation in SFB client window,  It does not receive the message from Bot.\r\n\r\nerror messages. -->\r\nThere are no error messages seen while running the bot."},"comment":{"url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/comments/426120914","html_url":"https://github.com/Microsoft/BotBuilder/issues/3982#issuecomment-426120914","issue_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/3982","id":426120914,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjEyMDkxNA==","user":{"login":"sgellock","id":733559,"node_id":"MDQ6VXNlcjczMzU1OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/733559?v=4","gravatar_id":"","url":"https://api.github.com/users/sgellock","html_url":"https://github.com/sgellock","followers_url":"https://api.github.com/users/sgellock/followers","following_url":"https://api.github.com/users/sgellock/following{/other_user}","gists_url":"https://api.github.com/users/sgellock/gists{/gist_id}","starred_url":"https://api.github.com/users/sgellock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgellock/subscriptions","organizations_url":"https://api.github.com/users/sgellock/orgs","repos_url":"https://api.github.com/users/sgellock/repos","events_url":"https://api.github.com/users/sgellock/events{/privacy}","received_events_url":"https://api.github.com/users/sgellock/received_events","type":"User","site_admin":false},"created_at":"2018-10-02T01:56:06Z","updated_at":"2018-10-02T01:56:06Z","author_association":"MEMBER","body":"Thank you for opening an issue against the Bot Framework SDK v3. As part of the Bot Framework v4 release, we’ve moved all v3 work to a new repo located at https://github.com/microsoft/botbuilder-v3. We will continue to support and offer maintenance updates to v3 via this new repo.\r\n \r\nFrom now on, https://github.com/microsoft/botbuilder repo will be used as hub, with pointers to all the different SDK languages, tools and samples repos.\r\n \r\nAs part of this restructuring, we are closing all tickets in this repo.\r\n \r\nFor defects or feature requests, please create a new issue in the new Bot Framework v3 repo found here:\r\nhttps://github.com/microsoft/botbuilder-v3/issues\r\n\r\nFor Azure Bot Service Channel specific defects or feature requests (e.g. Facebook, Twilio, Teams, Slack, etc.), please create a new issue in the new Bot Framework Channel repo found here:\r\nhttps://github.com/microsoft/botframework-services/issues\r\n \r\nFor product behavior, how-to, or general understanding questions, please use Stackoverflow.\r\nhttps://stackoverflow.com/search?q=bot+framework\r\n\r\n\r\nThank you.\r\n \r\nThe Bot Framework Team"}}
{"actor":{"display_login":"sgellock"}}