I'm sure this is the wrong way to do this but... Change ASTERISKVERSIONNUM=999999 in asterisk/Makefile to ASTERISKVERSIONNUM=9999 This works for me on Debian 7. I have a couple of other patches to get it working under Debian but this will let you compile. 73, Steve N4IRS