Skip to content

[QUERY] CallAutomationClient: PlayToAllAsync returns "8536" Action failed, file could not be downloaded #45689

Open
@iliev-ilian

Description

@iliev-ilian

Library name and version

Azure.Communication.CallAutomation 1.1.0

Query/Question

We are using the Call Automation Api und Sdk and have set up Event for Incoming Call. Event is received. When event is received, we:

  1. Instantiate CallAutomationClient:
    var client = new CallAutomationClient('');

  2. Answer the call:
    var options = new AnswerCallOptions(incomingCallContext, callbackUri)
    {

         CallIntelligenceOptions = new CallIntelligenceOptions() { CognitiveServicesEndpoint = new Uri(<**??????**>) }
     };
    
     AnswerCallResult answerCallResult = await client.AnswerCallAsync(options);
    
  3. Call is answered and we receive the corresponding event.

  4. We try to play text to all participants:
    var playSource = new TextSource(textToPlay)
    {
    VoiceName = "en-US-NancyNeural"
    };

    var playOptions = new PlayToAllOptions(playSource);
    answerCallResult.CallConnection.GetCallMedia().PlayToAllAsync(playOptions);

  5. As event after PlayToAllAsync, we receive PlayFailed event with code "8536" Action failed, file could not be downloaded.

We are following the documentation and sample in https://github.com/Azure-Samples/communication-services-dotnet-quickstarts/tree/main/callautomation-openai-sample-csharp and just replaced the connection strings.

We suppose may be the cognitive services endpoint is not the correct one. Which connection string for Cognitive Services should be used? Or how should we set up the Congnitive Services?
We have tried using following connection strings:
image

Environment

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    ClientThis issue points to a problem in the data-plane of the library.CommunicationService AttentionWorkflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions