Yā is usable when the addressee is far away as well; the word itself does not specify a fixed distance.
Opening interactive controls...
Yā for Someone Far Away
Vocative Particles: Five Forms, Uses and Parsing
Yā is usable when the addressee is far away as well; the word itself does not specify a fixed distance.