It is defined as a variable at the top of the file so it can just be updated there.
The problem with using $AST_VERSION is that there isn't a callmanager patch for every version of Asterisk, only when it needs to be updated. So it unfortunately has to be maintained separately.
This has been updated though so should be good to go now with "phreaknet update"
You must be