[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 17 12:00:54 CDT 2018


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

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

Suspended due to lack of activity. This issue will be automatically re-opened if the reporter posts a comment. If you are not the reporter and would like this re-opened please create a new issue instead. If the new issue is related to this one a link will be created during the triage process. Further information on issue tracker usage can be found in the Asterisk Issue Guidlines [1].

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines

> 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
>            Assignee: 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 :
> {code:title=res_rtp_asterisk.c}
> 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;
> }
> {code}
> Correct the line
> {code:title=res_rtp_asterisk.c}
> if (rtp->red->t140.datalen > 0) {
>      ast_rtp_write(instance, &rtp->red->t140);
> }
> {code}



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



More information about the asterisk-bugs mailing list