Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Overlap in recordings while using mod_tts and mod_transcribe #25

Open
psccodes opened this issue Feb 3, 2020 · 0 comments
Open

Overlap in recordings while using mod_tts and mod_transcribe #25

psccodes opened this issue Feb 3, 2020 · 0 comments

Comments

@psccodes
Copy link

psccodes commented Feb 3, 2020

From this packer( https://github.com/davehorton/packer-drachtio-freeswitch-dialogflow) I am using mod_transcribe and mod_tts, to repeat what the user has said as given in the example https://github.com/davehorton/drachtio-freeswitch-modules/blob/master/examples/google_transcribe.js but I find the voice of callee and caller overlapping, Please listen to the recording, there are two voices coming but they are overlapping

https://gofile.io/?c=HaPiet

I followed https://github.com/davehorton/drachtio-siprec-recording-server and modified the dialplan in
mrf_dialplan.xml to

<extension name="socket">
      <condition field="${sip_user_agent}" expression="^drachtio-fsmrf:(.*)$">
             <action application="answer"/>
             <action application="export" data="_nolocal_jitterbuffer_msec=100"/>
             <action application="set" data="RECORD_STEREO=false"/>
             <action application="mkdir" data="/home/admin/final/${strftime(%Y%m%d)"/>
             <action application="record_session" data="/home/admin/test.gsm"/>
             <action application="set" data="hangup_after_bridge=true"/>
             <action application="socket" data="${sip_h_X-esl-outbound} async full"/>
      </condition>
</extension>

But when I use the mod_dialogflow then the recording comes to be perfect, Please let me know what could be the reason for the issue or if any more information is required.

And thanks for such an awesome project

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant