]> 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:01:34 +0000 (20:01 +0000)
commit7147440560ef19470a0f75c7c75080cf8f45e655
tree769771610bedd98291c074442e40e83d294c4708
parentdb9ca72e154609850fb0d9c0107bd6cc712c7384
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 f3e74d34ce2fdd7eb60fc21d759c7abc19639f21)
main/channel.c