]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: Handle invalid SDP answer to T.38 re-invite
authorFrancesco Castellano <francesco.castellano@messagenet.it>
Fri, 28 Jun 2019 16:15:31 +0000 (18:15 +0200)
committerGerrit <noreply@gerrit.asterisk.org>
Thu, 11 Jul 2019 16:16:37 +0000 (11:16 -0500)
commit8438d19b81aa3f465d1f0447c8dd3c443be7b714
treef19bafed2b0ef6cf86679a522e6a4502038d3fdb
parent99addaff69470382152cf3fbdbed39d0a9c9f62a
chan_sip: Handle invalid SDP answer to T.38 re-invite

The chan_sip module performs a T.38 re-invite using a single media
stream of udptl, and expects the SDP answer to be the same.

If an SDP answer is received instead that contains an additional
media stream with no joint codec a crash will occur as the code
assumes that at least one joint codec will exist in this
scenario.

This change removes this assumption.

ASTERISK-28465

Change-Id: I8b02845b53344c6babe867a3f0a5231045c7ac87
channels/chan_sip.c