Azure / Communication

Azure Communication Services - SDKs and Release Notes
MIT License
317 stars 98 forks source link

Cannot accept/reject a call once initial invitation is rejected by the same user in azure communication service (web sdk) #475

Closed sgrmhrzn closed 1 year ago

sgrmhrzn commented 2 years ago

We have a call system that is developed under the Microsoft Teams where we have a bot in our end which determines available user and invites that user. We are trying to implement azure communication service to handle the call actions from our web application. In our our system there is a feature where the call keeps searching for available user and re-routes the call even if it was rejected previously. On initial incoming request if user rejects the call it will work but if the same call is routed back to that user and when tries to accept or reject it then azure communication service throws an exceptions. Do we have any solutions for this scenario? MicrosoftTeams-image (2) Screenshot 2022-07-03 081945

fizampou commented 1 year ago

Hi @sgrmhrzn,

Calling SDK has the transfer feature for that exact use case. Try to refactor the code to use that,