Hi David, It compiles correctly only if I add the following at the begining of the chan_bluetooth.c file: #define ASTERISK_VERSION_NUM 010200 Where is this value defined? Best regards, Dan