I'm working on the development of a private app with the capacity to handle multiple RC accounts, the current situation it's that a person needs to open multiple browser windows to login into each one of these accounts in order to be able to work with them.
The solution I am trying to implement has an app to handle these multiple accounts in the same UI, but the question I have now is: how I can handle incoming calls for each one of these multiple accounts?
- Login to the account
- Made a ring-out
- Connect to the push notification and receive the events for outbound and inbound calls
- Receive the RingCentral answer when fetching the endpoints
What I don't know from this point on is:
- Which endpoint should I use for answering a call? Answer Call Party is the correct one?
- How do I get the audio stream after the call is answered?
I gladly appreciate any help you can provide to me.