diff options
author | David M. Lee <dlee@digium.com> | 2013-01-14 15:58:01 +0000 |
---|---|---|
committer | David M. Lee <dlee@digium.com> | 2013-01-14 15:58:01 +0000 |
commit | d3bb2506a17ee210f893dd57b9dbc69f235de87e (patch) | |
tree | 6578ee28f450a1b833f90649dd910dcec09fd8ba /UPGRADE.txt | |
parent | a91a2891540d72ec6653796ad7a332539e794932 (diff) |
Gently reduce masquerade insanity
Masquerades are an insane implementation detail within Asterisk. It generates
a number of useless and confusing events, and manipulates channels in a way
that semantically doesn't make sense. I've given a fairly thorough review of
masquerade code and its usage on the wiki at
https://wiki.asterisk.org/wiki/x/IwBRAQ.
While ultimately it makes the most sense to abandon masquerades altogether,
it will take some time to completely irradicate. Even then, there may always
be code that's not worth rewriting to get rid of the masquerade.
This patch does two things to make masquerades slightly less insane:
* When swapping the names of the original and clone channel, only emit a
single rename event of original -> original<ZOMBIE>. The original code
issued three rename events to accomplish the same end.
* In addition to swapping the names of the channels, also swap their
uniqueid's. This allows the 'Uniqueid' field to be used as a stable
identifier for a channel from and external interface, such as AMI.
Review: https://reviewboard.asterisk.org/r/2266/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@379023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'UPGRADE.txt')
-rw-r--r-- | UPGRADE.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/UPGRADE.txt b/UPGRADE.txt index 3c31f526b..2ba2ea9f2 100644 --- a/UPGRADE.txt +++ b/UPGRADE.txt @@ -27,6 +27,17 @@ AMI: - The SIP SIPqualifypeer action now sends a response indicating it will qualify a peer once a peer has been found to qualify. Once the qualify has been completed it will now issue a SIPqualifypeerdone event. + - Version 1.4 - The details of what happens to a channel when a masquerade + happens (transfers, parking, etc) have changed. + - The Masquerade event now includes the Uniqueid's of the clone and original + channels. + - Channels no longer swap Uniqueid's as a result of the masquerade. + - Instead of a shell game of renames, there's now a single rename, appending + <ZOMBIE> to the name of the original channel. + +CEL: + - The Uniqueid field for a channel is now a stable identifier, and will not + change due to transfers, parking, etc. Queues: - Queue logging for PAUSEALL/UNPAUSEALL now only occurs if the interface this is |