[asterisk-bugs] [JIRA] (ASTERISK-27022) Incorrect SSRC change for RTCP component

Michael Walton (JIRA) noreply at issues.asterisk.org
Sun May 28 22:33:58 CDT 2017


Michael Walton created ASTERISK-27022:
-----------------------------------------

             Summary: Incorrect SSRC change for RTCP component
                 Key: ASTERISK-27022
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27022
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Resources/res_rtp_asterisk
    Affects Versions: 14.4.0, 13.16.0
         Environment: N/A
            Reporter: Michael Walton
            Severity: Minor


Found by code inspection in function ast_rtp_change_source(). The following code snippet refers:
{code:title=res_rtp_asterisk.c|borderStyle=solid}
	if (srtp) {
		ast_debug(3, "Changing ssrc for SRTP from %u to %u\n", rtp->ssrc, ssrc);
		res_srtp->change_source(srtp, rtp->ssrc, ssrc);
		if (rtcp_srtp != srtp) {
			res_srtp->change_source(srtp, rtp->ssrc, ssrc);
		}
	}
{code}
The third last line should I think be:
{code:title=res_rtp_asterisk.c|borderStyle=solid}
			res_srtp->change_source(rtcp_srtp, rtp->ssrc, ssrc);
{code}




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



More information about the asterisk-bugs mailing list