I’ve been using waitForSilence for like 2 years now without a problem, but suddenly, it’s detecting before it should, only for one network (in south africa MTN)
I don’t know if they changed any setting on their side, but I would like to change the silence threshold to test if that’s the issue.
I’m using asterisk 1.4, SIP, and I read that if the dsp.conf file is missing the threshold defaults to 0, and it should be 256.
So I added dsp.conf:
; Length of sound (in milliseconds) before a period of silence is considered
; to be a change from talking to silence or a period of noise converts silence
; to talking. [default=256]
But I tested and it still detects the silence in the wrong place.
Does anyone know what’s the solution for this problem?