]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix white noise on SRTP decryption
authorKinsey Moore <kmoore@digium.com>
Wed, 27 Mar 2013 17:06:07 +0000 (17:06 +0000)
committerKinsey Moore <kmoore@digium.com>
Wed, 27 Mar 2013 17:06:07 +0000 (17:06 +0000)
commitd014e51a183d7e2bbb5f1445ea7e914e777cbf4b
treee53211847c6875a0d427e6583f2bbb1e74dec1b0
parentb984d78c5c168c9a95c66546551aca4863c0e4d1
Fix white noise on SRTP decryption

When res_rtp_asterisk.c was altered to avoid attempting to apply
unprotect algorithms to non-audio RTP packets, the test used was
incorrect. This caused the audio packets to not be decrypted and
resulted in loud white noise on the other endpoint (or both endpoints
depending on the call legs involved). The test now properly checks the
version field in the RTP header to ensure that RTP and RTCP are
decrypted while other types of packets are not.

(closes issue ASTERISK-21323)
Reported by: andrea
Tested by: Kinsey Moore, andrea, John Bigelow
Patches:
    whitenoise_fix.diff uploaded by Kinsey Moore
........

Merged revisions 384048 from http://svn.asterisk.org/svn/asterisk/branches/1.8

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@384049 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_rtp_asterisk.c