[asterisk-bugs] [JIRA] (ASTERISK-23834) res_rtp_asterisk debug message gives wrong length if ICE

Matt Jordan (JIRA) noreply at issues.asterisk.org
Tue Jul 8 09:56:14 CDT 2014


     [ https://issues.asterisk.org/jira/browse/ASTERISK-23834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Jordan updated ASTERISK-23834:
-----------------------------------

    Target Release Version/s: 12.4.0

> res_rtp_asterisk debug message gives wrong length if ICE
> --------------------------------------------------------
>
>                 Key: ASTERISK-23834
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23834
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_rtp_asterisk
>    Affects Versions: 12.2.0
>            Reporter: Richard Kenner
>            Severity: Minor
>      Target Release: 11.11.0, 12.4.0
>
>
> The length output by ast_rtp_raw_write in the debug output is the value returned by rtp_sendto minus 12.  But in the case of rtp->ice, __rtp_sendto returns 0 on success, not the length written.
> The proper fix is probably just to change the "return 0" to "return len", but I'm not sure.



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



More information about the asterisk-bugs mailing list