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

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Mon Apr 5 11:31:15 CDT 2021


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

Kevin Harwell commented on ASTERISK-29372:
------------------------------------------

{quote}
This attached patch resolves this bug by aligning res_rtp_asterisk with what channel.c is expecting.
...
Sorry, ignore the second attachment, that was for a different one.
{quote}
I'm going to remove the res_rtp_asterisk.patch then since it does not relate to this issue.

> 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