microsoft / BotBuilder-RealTimeMediaCalling

BotBuilder-RealTimeMediaCalling extends the BotBuilder to enable bots to engage in Skype audio-video calling. It provides real-time, programmable access to the voice, video, and screen sharing streams of a Skype call. The bot is a direct participant in a Skype 1:1 call.
MIT License
76 stars 36 forks source link

No more messages after responding to the original invite #30

Open bogdan-mabo opened 6 years ago

bogdan-mabo commented 6 years ago

Hello,

I deployed the MeetingScreenshots bot on a computer with public IP. Everything seems to work ok up to the point where the application is answering the incoming call. After that there are no more message coming from Skype or bot connector. NOTE: This happens when adding the bot to a conference call. If I call it directly, the call gets connected successfully

Incoming:: POST https://avstdevbot.avst.com/api/calling/call
X-Microsoft-Skype-Chain-ID: 1f3dbf1e-4f4c-4830-9403-4941780ae164
X-Microsoft-Skype-Message-ID: 0ea00ea5-2021-400c-b76a-72d224972672
Connection: Keep-Alive
Accept: application/json
Authorization: Bearer ey....
Host: avstdevbot.avst.com
User-Agent: Microsoft-Skype/3.0,(Calling/1.0)
Content-Length: 1315
Content-Type: application/json; charset=utf-8
{
  "id": "7f210f42-dc98-4968-b86b-1a6f88615575",
  "participants": [
    {
      "identity": "29:1EZXCxJvE_KBFR2nVmvx3yrWyryhu184FAri7w8GWBgw9qDv0o0nHvL5eflC0xET-",
      "originator": true,
      "isHidden": false
    },
    {
      "identity": "28:8c7313ab-d97f-43dd-9658-413b6b5073b4",
      "originator": false,
      "isHidden": false
    }
  ],
  "isMultiparty": true,
  "joinToken": "eyJ...",
  "threadId": "19:653b86aa057445b0aa862f9b04c17394@thread.skype",
  "presentedModalityTypes": [
    "audio",
    "video"
  ],
  "callState": "incoming"
}
Response to incoming:: POST https://avstdevbot.avst.com/api/calling/call
202 Accepted
Connection: close
X-Microsoft-Skype-Chain-ID: 1f3dbf1e-4f4c-4830-9403-4941780ae164
Content-Type: text/plain; charset=utf-8
{
  "notificationSubscriptions": [
    "rosterUpdate",
    "callStateChange"
  ],
  "links": {
    "callback": "https://avstdevbot.avst.com:443/api/calling/callback",
    "notification": "https://avstdevbot.avst.com:443/api/calling/notification"
  },
  "actions": [
    {
      "operationId": "48a6bf9d-9f77-485c-804f-7a11f2bc0c52",
      "action": "answerAppHostedMedia",
      "mediaConfiguration": {
        "mpUri": "net.tcp://www.avstdevbot.avst.com:5070/MediaProcessor",
        "audioRenderContexts": [
          "46b3d4f3-f9b6-4157-9c2d-d165b0d26678"
        ],
        "videoRenderContexts": [
          "ed4f7777-a379-48c2-9464-10a36a03e35d"
        ],
        "audioSourceContexts": [
          null
        ],
        "videoSourceContexts": [
          null
        ],
        "supportedAudioFormat": "Pcm16K",
        "mpMediaSessionId": "e317cea6-70ce-430a-a9b8-57af8b92edb8",
        "regionAffinity": null,
        "skypeMediaBotsVersion": "1.5.0.1177",
        "mediaStackVersion": "6.0.8980.141",
        "mpVersion": "7.0.697.0"
      }
    }
  ],
  "appState": "7f210f42-dc98-4968-b86b-1a6f88615575"
}
ssulzer commented 6 years ago

Hi @bogdan-mabo

Skype calling and real-time media bots are not allowed to join group/conference calls - this scenario is disabled. Right now we cannot offer a timeframe for when this scenario will be enabled.

Thanks, Stephen Sulzer [MSFT]

bogdan-mabo commented 6 years ago

Thank you Stephen.

Could you please confirm that this means we cannot try this sample until that feature is enabled?

Thank you, Bogdan

ssulzer commented 6 years ago

That's correct. We will be removing the MeetingsScreenShot sample soon.