Phonon Band Structure Discontinuity with Castep
There is very little to say. Castep will automatically calculate at the Γ point twice, once for the approach direction in the band path, and once for the exit direction. So the approach is the same as described for the diamond Castep example.
$ c2x --phbands_dcross_gnu AlN.phonon out.gnu $ gnuplot -p out.gnu

A discontinuity at Γ is seen in both the highest optical mode, and also the mode at around 600cm-1.
The only slight confusion is that files such as
the .phonon file set the number of wavevectors to the
number of unique q-points. If Γ is repeated, there could be
more entries than expected.