For anyone who finds this thread running into similar issues: the problem was one in the configuration of the PRI card. The telco provides a clock signal on the E1 line which the card should use to synchronize communication, but we had misconfigured the PRI card to provide its own clock signal, messing up synchronization and leading to overruns. (Well - this is how I understand it.)

This was the information that led me to fix it:
https://wiki.sangoma.com/display/PC/Overruns
https://wiki.freepbx.org/pages/viewpage.action?pageId=79138050

Best,
Sam



On Tue, Jun 23, 2020 at 3:08 PM Sam van Herwaarden <svanherwaarden@precisionag.org> wrote:
Thanks Avi - this is really just a proof of concept, all the audio will be replaced by human recordings in the final system. Using flite is easy for testing purposes, and helpful for me because the system will be in Bengali which I do not understand :)

On Tue, Jun 23, 2020 at 3:05 PM Avi Marcus <avi@avimarcus.net> wrote:
Maybe someone else listening to the recording (towards ~25s is the real distortion?) will make something of it.

I just want to mention that your flite audio sounds horrible to me. If that's production audio, I suggest spending a few cents for Amazon Polly audio (Matthew voice is pretty nice.) https://aws.amazon.com/polly/
 
I made a full english sound set and some scripts to generate new audio here: https://github.com/avimar/freeswitch-sounds-polly

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com