]> git.ipfire.org Git - thirdparty/asterisk.git/commit
channel: Preserve CHANNEL(userfield) on masquerade.
authorPeter Jannesen <peter@jannesen.com>
Fri, 20 Sep 2024 20:13:08 +0000 (22:13 +0200)
committerAsterisk Development Team <asteriskteam@digium.com>
Thu, 14 Nov 2024 20:00:45 +0000 (20:00 +0000)
commitd54206221fefbe66eb0ecd607f2c3ffdcf4141c1
treeb03da0a58e8d07a55088b0edecc506f5dfb8bbf6
parent463e4f96c57b1e2468f7b9f6a3c78b70b725e246
channel: Preserve CHANNEL(userfield) on masquerade.

In certain circumstances a channel may undergo an operation
referred to as a masquerade. If this occurs the CHANNEL(userfield)
value was not preserved causing it to get lost. This change makes
it so that this field is now preserved.

Fixes: #882
(cherry picked from commit e522eb63572ac8aed07afc09be0a99ab0de65abe)
main/channel.c