I've got a Samsung S8 phone with jack. I would like to connect this phone via cable into the analog inputs of the laptop in bi-directional fashion.

So, the output sound of the PC travels via cable to the phone's microphone and the output of the phone sound travels via cable to the laptops mic.

Is that possible? Are there any blackboxes which actually do this?