Hello,
This is demonstrated in the incidentbot provided by Microsoft. If I create a call in example 1 of application-post-calls and then cancel it I get a state of the call as connected when it clearly isn't. This poses a problem in Click to dial type applications where, for example, I must be in the call first before calling the recipient.
Steps to reproduce is to make a call in the same way as [1] and then when the bot calls teams immediately decline on teams. You will get the connected event and ideally unless i am missing something you should get the terminated event. In the Incident bot just make a call via the makeCallcontroller.cs (MakeOutgoingCallAsync) and decline.
Just wanted to know whether my thinking is correct or am i missing something. It would seem to be a bug to me.
Thanks.