[asterisk-dev] Manger inconsistency: ASTERISK-17455

Kevin P. Fleming kpfleming at digium.com
Fri Aug 5 07:06:09 CDT 2011


On 08/04/2011 05:42 PM, Terry Wilson wrote:
> Issue: https://issues.asterisk.org/jira/browse/ASTERISK-17455
>
> Back in 2007 there was an attempt to make AMI more consistent. One of the changes involved changing Link/Unlink manager events to Bridge events with a Bridgestate: Link/Unlink header. One Link and one Unlink event in channel.c were converted. Unfortunately, there were two more Unlink events that were not converted. So, things have been really inconsistent in this case for 4 years now.
>
> It's easy enough to change, but I thought I'd get people's opinions on where the change should go. I don't like making API behavior changes to released branches, so my vote is for 1.10+ being fixed and leaving 1.8 with an inconsistent API in case people have come to rely upon it. With that said, if people are using these events and they are inconsistent, it is possible that they are missing events because they are just looking for the documented behavior. There is also always the option of making a config option that is disabled by default that would present the more consistent behavior. Since it has been 4 years since the change was made and we are just now hearing about the issue, I am leaning towards not going to the trouble/complexity of adding another config option and just making the change 1.10+.

I agree; make the change in Asterisk 10 and trunk.

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kfleming at digium.com | SIP: kpfleming at digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com & www.asterisk.org



More information about the asterisk-dev mailing list