Hi, quick follow-up. Your scenario may not be fully supported as our systems are currently architected. DirectLine Speech doesn't have provisions for non-streamed audio. However, if you're looking for telephony, consider using our existing public preview telephony channel (which uses ACS & Speech Services already). Hope this helps.
Sending audio to Direct Line Speech from ASP.NET application?

We're building out a custom integration for a Telefony provider to integrate with Azure Cognitive Services bot via the Direct Line channel.
The REST relay endpoint, which will basically be the client for the bot, is able to receive the audio as a in-memory variable (encoded in base64).
How can this audio be transmitted to the bot into the Direct Line Speech channel and fetch a response with the response from the Bot in audio?
The catch is that, the relay has to be maintained in REST: querying bot and sending response back. We've concluded that the websocket connection will not persist throughout the interaction.