[asterisk-bugs] [JIRA] (ASTERISK-28002) When T.140 realtime text is negociated, a lot of debug traces are generated

Asterisk Team (JIRA) noreply at issues.asterisk.org
Fri Aug 3 04:49:54 CDT 2018


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

Asterisk Team commented on ASTERISK-28002:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

> When T.140 realtime text is negociated, a lot of debug traces are generated
> ---------------------------------------------------------------------------
>
>                 Key: ASTERISK-28002
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28002
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_rtp_asterisk
>    Affects Versions: 13.22.0
>         Environment: Cent OS 7 - 
>            Reporter: Emmanuel BUU
>            Severity: Minor
>
> If we process a call with T.140/RED and activate debug traces
> core set debug 1
> We get a constant flow of traces:
> Received frame with no data for RTP instance 'xxxx' so dropping frame
> We propose the follwing simple fix in res_rtp_asterisk.c
> In :
> static int red_write(const void *data)
> {
>         struct ast_rtp_instance *instance = (struct ast_rtp_instance*) data;
>         struct ast_rtp *rtp = ast_rtp_instance_get_data(instance);
>         ao2_lock(instance);
>         ast_rtp_write(instance, &rtp->red->t140);
>         ao2_unlock(instance);
>         return 1;
> }
> Correct the line
> if (rtp->red->t140.datalen > 0) {
>      ast_rtp_write(instance, &rtp->red->t140);
> }



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



More information about the asterisk-bugs mailing list