https://space.stackexchange.com/questions/33338/why-is-the-o... is a neat question that addresses this issue.
And yes, the transmitters will need to be powerful enough be a distinct signal over the background of the star that is in the line of sight of the receiver / beyond the transmitter.