Hey @Deft & Tact Admin , thank you for reaching out!
Please find below the answers to your questions:
1- How to add the user to lobby using SDK, i don't see the methods to keep the user in lobby.
Currently, ACS does not support Lobby concept, you can have lobby ONLY if you are doing Teams interop (a.k.a Teams meeting), but if you are doing ACS <--> ACS audio/video call, still there is no lobby concept.
That said, if you wish to have more control about who is accessing the call, at what time, and what they can/cannot do, you can have a look at the ACS Rooms Concept, it does not have lobby, but it has some more control.
2- How to end the call. what method to you
Generally, you should be calling hangUp
function on the call object that you have when you start/answer a call. For more information, you can check:
- JavaScript: getting-started-with-calling
- Android: MainActivity.java (it is not mentioned in our documentation, but you can see it in the samples).
- iOS: getting-started-with-calling
- Windows: getting-started-with-calling