[asterisk-dev] support for building trunk modules (1.6?) under 1.4

David Bowerman david.bowerman at gmail.com
Fri Sep 14 20:34:42 CDT 2007


Hi,

i get a lot of requests from people wanting to use chan_mobile with
Asterisk 1.4.x

it currently doesnt build under 1.4.x because of a few subtle api
changes, but is fairly easily modified so it does. there are various
'backports' scattered all over the place in various states of
currentness.

im about to move chan-mobile to the new CLI api which is going to
break 1.4.x support even further.

is it acceptable to maintain backwards compatibilty in the trunk
source by say having a #DEFINE BUILD_FOR_1.4.X in the top of the
source which is undefined by default, but can be enabled for those
wanting to use 1.4.x? If defined the 1.4.x api is used, if not the
trunk api is used.

doing this would provide one authoritative source and prevent all the
back-ports which are hard to maintain.

cheers

dave



More information about the asterisk-dev mailing list