[asterisk-bugs] [JIRA] (ASTERISK-28462) func_talkdetect: TALK_DETECT firing immediately even if phone microphone is muted

Richard Frith-Macdonald (JIRA) noreply at issues.asterisk.org
Fri Oct 8 10:05:49 CDT 2021


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=256569#comment-256569 ] 

Richard Frith-Macdonald commented on ASTERISK-28462:
----------------------------------------------------

I used the patch from ASTERISK-27816 ​and it seems to work.
​The whole thing is about a dozen lines, one of which is correcting the content of a warning log.
The logic change is very simple, and at least seems to fix the bug of talk detect firing immediately (before any speech is detected).

> func_talkdetect: TALK_DETECT firing immediately even if phone microphone is muted
> ---------------------------------------------------------------------------------
>
>                 Key: ASTERISK-28462
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28462
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Functions/func_talkdetect
>    Affects Versions: 16.4.0
>            Reporter: Matt Altepeter
>            Severity: Major
>
> This issue on the community forums provides a bit more background on the issue: https://community.asterisk.org/t/issues-with-talk-detect-and-ari/80096/10
> But essentially, when I call into a number with talk detect set and then going to a stasis application, the sound file playback (first step that stasis executes) stops playback immediately because when I receive the ChannelTalkingStarted event I want to stop the playback of the file. This occurs even when the microphone is muted prior to the call being answered.
> The speculation, as seen in the link above, is that total_silence is set to an extremely low value. 
> This issue was able to be replicated via the AMI as well



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list