Skip to content

[BUG] No AddParticipantFailed event raised when a person does not accept a call #41032

Open
@Thomas-Carstensen

Description

@Thomas-Carstensen

Library name and version

Azure.Communication.CallAutomation 1.1.0

Describe the bug

When adding another participant to a call, mid call, an incorrect event is being sent to the application if the person does not accept the call.

If the person accepts the call the ParticipantsUpdated and AddParticipantSucceededis being sent correctly.

But if the person declines the call no AddParticipantFailed event are sent and the ParticipantsUpdated event shows the two phone numbers and the ACS instance in the call, when in fact there are only one person and the ACS instance in the call.

Expected behavior

Expected an AddParticipantFailed event and that the ParticipantsUpdated event shows corret amount of members in the call.(one person and the ACS instance)

Actual behavior

Sends AddParticipantSucceeded event and the ParticipantsUpdated event shows two persons and the ACS instance

Reproduction Steps

  1. Start call to ACS.
  2. Add another person to the call.
  3. Second person declines call.
  var callerIdNumber = new PhoneNumberIdentifier("+4512345678"); 
  var addThisPerson = new CallInvite(new PhoneNumberIdentifier("+4587654321"), callerIdNumber);
  
  var addParticipantOptions = new AddParticipantOptions(addThisPerson);
   await _callAutomationClient.GetCallConnection(callConnectionId)
      .AddParticipantAsync(addParticipantOptions);

Environment

Azure Communication Service
Danish phone number (+45)
Event Grid System Topic (Microsoft.Communication.IncomingCall)
Event Subscription (webhook)
REST API with .NET 6

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