Depends, if I am wearing civilian wear and the officer is my
friend, I can call him by name. Ditto if vice versa.
If in unit mess, no ranks between friends.
While on parade or on duty, mind the ranks please.
While on the field, kindly stick to call signs.