[Asterisk-Dev] Module that works in Asterisk 1.0.x and 1.2.x

Russell Bryant russell at digium.com
Thu Nov 17 10:06:19 MST 2005


Juan Jose Comellas wrote:
> Asterisk should really have some kind of facility for version checking.
> I don't think I'm the only one that's developing modules for both
> "production" versions of Asterisk right now.

ASTERISK_VERSION is defined in both 1.0 and 1.2.  In 1.0, it's provided
as a CFLAG in the main Makefile instead of put in a header file.

Russell



More information about the asterisk-dev mailing list