[asterisk-dev] asterisk version collision ?

Jason Parker jparker at digium.com
Fri Jan 25 16:19:48 CST 2013


On 01/25/2013 04:07 PM, Jeremy Kister wrote:
> from ast_version.h:
>> * AABB - Major version (1.4 would be 104)
>> * CC - Minor version
>> *
>> * 1.4.17 would be 10417.
> 
> 
> does this also mean that version 10.4.17 will be 10417 ?
> 
> i have been detecting asterisk 1.4 by looking at the first three digits (1.4 =
> 104) and i was just about to start detecting 10 via the same method.
> 
> 
> Thanks,
> 

Each part of the version number is represented by 2 digits.  In the 1.x case,
the leading 0 is stripped.

100417 > 10417



More information about the asterisk-dev mailing list