[asterisk-bugs] [JIRA] (ASTERISK-29372) file.c switch does not account for flash events

Friendly Automation (JIRA) noreply at issues.asterisk.org
Mon May 17 08:55:19 CDT 2021


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

Friendly Automation commented on ASTERISK-29372:
------------------------------------------------

Change 15879 merged by Joshua Colp:
main/file.c: Don't throw error on flash event.

[https://gerrit.asterisk.org/c/asterisk/+/15879|https://gerrit.asterisk.org/c/asterisk/+/15879]

> file.c switch does not account for flash events
> -----------------------------------------------
>
>                 Key: ASTERISK-29372
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29372
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/General
>    Affects Versions: 18.3.0
>         Environment: Debian 10
>            Reporter: N A
>            Assignee: Unassigned
>              Labels: patch
>         Attachments: file.patch
>
>
> There is a switch statement in file.c. that does not include AST_CONTROL_FLASH. As a result, anytime there is an RTP flash event, there is a WARNING printed to the console. This should be ignored in file.c; the attached patch simply adds AST_CONTROL_FLASH to the switch statement as a case so that it gets ignored properly.



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



More information about the asterisk-bugs mailing list