]> 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 Colp <jcolp@digium.com>
Tue, 17 Sep 2019 20:36:15 +0000 (15:36 -0500)
commit75da335ac435925d31b7aaf624cc02c642d16577
treea3a8a71da6b015e1dc966880e8edcb9e3d2ab382
parent90bd2e22e8e2b84a28da8e8fb1daeb6d3fbdb72c
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