]> 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:25 +0000 (17:03 +0000)
commite522eb63572ac8aed07afc09be0a99ab0de65abe
treea1dca45aae55f69c5cec22abb536d3a90ede620c
parent9e76533f9076d44efec188209e4c60f29426acf7
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