Skip to content

Microsoft Graph takes time to Answer msteams call #2972

@SagiBN-Nice

Description

@SagiBN-Nice

Describe the bug

When I perform high load testing, for some of the calls the next scenario happens:
Calls.OnIncoming is triggered -> we perform ICall.AnswerAsync() -> finished after more than 5 seconds (ICall.AnswerAsync() happens right after the log "mediaSession is created" that can be seen in the image. The log "Bot answered the call 'CallId'" happens right after ICall.AnswerAsync()).

Image

this leading to some errors because after 5 seconds with no answer, we receive 'deleted' on that callId and then receive new 'created' with different callId.

Expected behavior

For most of the calls:
Calls.OnIncoming is triggered -> we perform ICall.AnswerAsync() -> finished after 1 second or less

Image

How to reproduce

Perform high load testing with Microsoft API's online meeting with 1 call per second.
It happened in like 50 calls within 10 hours out of 36,000 calls.

SDK Version

5.38.0

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:waiting-for-triageAn issue that is yet to be reviewed or assignedtype:bugA broken experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions