I am using Unimrcp with LUA with google TTS and ASR but I am facing issues with the call recording the voice of the caller and the callee are overlapped with each other and it results in very bad quality of speech, here are the lines of code from the dialplan which I am using to record the call,
<action application="set" data="RECORD_STEREO=true"/>
<action application="record_session" data="${base_dir}/${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/>
Please do let me know if there are any other details required to resolve this problem.
Thanks
Aditya