]> 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)
committerPeter Jannesen <peter@jannesen.com>
Wed, 25 Sep 2024 17:03:28 +0000 (17:03 +0000)
commitf3e74d34ce2fdd7eb60fc21d759c7abc19639f21
treee41c63f20ed3249485e1ec4189808425111f01fa
parent0ed7f5800d352bbddfb7c52fa10dd61909a5b220
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
main/channel.c