Lie symmetry analysis of a variable coefficient Calogero-Degasperis equation