On the lattice dynamics of some defective gallium ternary compounds