]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_t38.c: Fix crash by ignoring 1xx messages.
authorRichard Mudgett <rmudgett@digium.com>
Fri, 29 Jun 2018 23:28:26 +0000 (18:28 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Mon, 2 Jul 2018 16:41:41 +0000 (11:41 -0500)
commitd37bfd56dbf6f5fe5b915e2daced1901c36a3767
treeeaf7b2a2858b031c86f269172132a24b29c5b270
parent6f68974f456b1c325e7406dbdd58ca0b4ad291d0
res_pjsip_t38.c: Fix crash by ignoring 1xx messages.

If we initiated a T.38 reINVITE, we would crash if we received any other
1xx response message except 100 if it were followed by a 200 response.

* Made ignore any 1xx response so we do not close out the T.38 negotiation
too early.  For good measure we'll now accept any 2xx response as
acceptance of the reINVITE T.38 offer.

ASTERISK-27944

Change-Id: I0ca88aae708d091db7335af73f41035a212adff4
res/res_pjsip_t38.c