I'm not entirely sure whether you still can, but a couple of years ago I remember dialling the standard 100 number and asking for (and being put through to) the military switchboard.
Depends upon your specific enquiry otherwise you will be chasing your tail all day.