]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_pjsip: Relock correct channel during "fax" redirect.
authorJoshua Colp <jcolp@digium.com>
Sun, 15 Sep 2019 19:35:45 +0000 (19:35 +0000)
committerJoshua C. Colp <jcolp@digium.com>
Mon, 16 Sep 2019 13:43:33 +0000 (08:43 -0500)
commitdfd7a3474ba2c07c29c498c06bd67ff175c97fd2
treeeda6d5ffb37dca4db428cb9576e179bf9743eab0
parent794c7030aef1e8b60de5d0900b3e71f9c972d04d
chan_pjsip: Relock correct channel during "fax" redirect.

When fax detection occurs on an outbound PJSIP channel the
redirect operation will result in a masquerade occurring and
the underlying channel on the session changing. The code
incorrectly relocked the new channel instead of the old
channel when returning. This resulted in the new channel
being locked indefinitely. The code now always acts on the
expected channel.

ASTERISK-28538

Change-Id: I2b2e60d07e74383ae7e90d752c036c4b02d6b3a3
channels/chan_pjsip.c