]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Prevent loss of Caller ID information set on local channel after masquerade.
authorJeff Peeler <jpeeler@digium.com>
Mon, 9 Aug 2010 20:04:30 +0000 (20:04 +0000)
committerJeff Peeler <jpeeler@digium.com>
Mon, 9 Aug 2010 20:04:30 +0000 (20:04 +0000)
commit5be00864eea46410f7398ac24761532dd10f17f1
treee54f1063678e210faceb9d68dc3272f0535d3e2d
parent4f90553a45e5910a88bcba3f5eb9433591e364b9
Prevent loss of Caller ID information set on local channel after masquerade.

Caller ID set on the channel before a masquerade occurs when using a local
channel would cause the information to be lost. The problem was that the
information was set on a channel destined to be hung up. The somewhat confusing
fix is to detect if any Caller ID has been set on the channel and if so
preswap the Caller ID data so that basically the masquerade puts the data back.

(closes issue #17138)
Reported by: kobaz

Review: https://reviewboard.asterisk.org/r/847/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@281390 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_local.c