]> 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:42:20 +0000 (11:42 -0500)
commit1aa45ffdfa2920a7b7f71623d7ede3b05ab1e501
treef83c5b24779294d5438f1a288b0e243461d21adf
parentefe2ba43ca364ec25d270d8aebde9d6e5080babf
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