It is necessary to find a solution
The PCs are in dialogue with each other through Discord.
PC 1 is connected to a phone running Android, and through the Link to Phone application, it is possible to use the phone on the PC screen, as well as make calls.
Next, from PC 2, we connect to PC 1 and make a call using the SIM card inserted in the phone connected to PC 1.
Task - it is necessary to connect to PC 1 (to which the phone is connected) from PC 2 and through virtual access to the phone (Link to Phone application), make a call using the SIM card that is inserted in the phone. At the same time, the subscribers must have a dialogue.
The main task is to find/create a module that will capture sound from the application (Link to Phone) and transmit it to Discord, and also in the reverse order, that is - capture sound from Discord and transmit it to the application (Link to Phone)
We tried using Parsec to transmit microphone sound from PC 2 to PC 1. It essentially creates a virtual microphone, but when we start calling through Link to Phone, the sound transmission through the virtual microphone almost always breaks off. And we end up with either the client not hearing us or us not hearing the client.
And we need to have the ability to make calls remotely.
For remote control of the phone, you can use (Teams, AnyDesk, RustDesk), or any other at your suggestion.
The setup needs to be as simple as possible so that we can connect other devices according to the instructions, as they are constantly being added.