]> 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:22:07 +0000 (11:22 -0500)
commit6c59df17a55a4f91a05df3a833652e04f0853cf6
treebdb4b9cbbb10c98b7667f520d993087e158e70b3
parent1b832c3b60d9b0ef62f0ccc9027502be9f0de7aa
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