[Asterisk-java-users] Asterisk-Java and its dependency on specific versions of Asterisk
Brought to you by:
srt
From: Stefan R. <sr...@re...> - 2005-07-15 10:20:52
|
>> I understand... so we need to fix this to work with Asterisk 1.0.x and >> the upcoming 1.2 (with QueueStatusCompeleteEvent) is suppose, right? > > Hm, nah, I can just react to all incoming queue related events and refe= sh > my > own visualization of the queues and just generally hold off queue relat= ed > activities for a few seconds. I think that a little delay is no big dea= l > at all. Ok that's fine. One thing I still remain unsure about is Asterisk-Java's dependency on specific Asterisk versions. When using the ManagerConnection or AGI thats currently no big deal as I don't expect much change regarding Asterisk's basic concepts in that area= . When new ManagerActions or AGICommands are added I usually try to include a note about since which version of Asterisk it is available, so that should be fine. But with the AsteriskManager things are different, here we have a few options: 1. Support only the lowest common denominator 2. Latest Asterisk-Java supports latest Asterisk (i.e. Asterisk 1.0.x -> Asterisk-Java 0.1, Asterisk 1.2 -> Asterisk-Java 0.2) and so on 3. Latest Asterisk-Java supports multiple versions of Asterisk (i.e. if (astversion =3D 1.0.x) then use this construct else use that construct) Option 1 is bad as we are stuck with the old deficiencies of early Asterisk versions. Option 2 means supporting multiple Asterisk-Java branches, but the users who don't want to upgrade their Asterisk servers probably prefer to stick with the version of Asterisk-Java that once went through their QA, too. Option 3 will sooner or later become a maintainance nightmare for me ;) What do you think? Is Option 2 ok? How much support (bugfixes, ..) do you need for older releases? > So far I like Asterisk-Java very much, it hasn't really done anything > weird (aka. bugs) at all, which is IMHO very nice. :) Thats nice to hear! > Haven't figured out how to put a call on hold yet, but I think > SetVarAction with the proper magic could do it. > There is no CLI command to do it either. Need to do some experiments. Hmm i don't know either. if you got a solution let us know. =3DStefan |