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

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Fri Sep 14 23:34:41 CDT 2007


On Friday 14 September 2007 20:34:42 David Bowerman wrote:
> 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.

No, not in trunk.  If you want to do something like this, either create a
1.4 branch or have Russell create a backport repository for you on
svncommunity.digium.com.

-- 
Tilghman



More information about the asterisk-dev mailing list