Re: [Asterisk-java-devel] 0009924: Responses to Manager Commands Should Be Called 'Responses' and n
Brought to you by:
srt
From: Carlos G M. <tr...@hu...> - 2008-04-01 19:43:43
|
Stefan Reuter @ 01/04/2008 16:11 -0300 dixit: > Martin Smith wrote: >> I'm not sure how I feel about that, other than it would have been a good >> semantic change. What do people think? > > I am not sure about my feelings on this issue. > On the one hand you are right, that the current state of AMI is not > optimal, on the other hand we know how to deal with it and the code is > in place. > A major change in the inner workings of AMI could make it hard to keep > Asterisk-Java to work seamlessly with different versions of Asterisk. > > My favorite would be to have a proposal for a formal specification that > defines AMI (or a new AMI) form the ground up. > > =Stefan Backward portability has its cost. Like the show [core] version thing. Being "event" overloaded with 2 different semantics seems not that bad if the difference is known. Making the difference explicit might help someone sometime though. Formal specifications are rare in my experience (useful ones at least :) but trying to keep semantics coherent sounds good. Back to the issue at hand, if I understand this correctly, the "non-event" events are unicasted to the action performer, so I don't know how much of a differenece would the proposed change make. -Carlos -- Carlos G Mendioroz <tr...@hu...> LW7 EQI Argentina |