When a telephone line is run into a new building, how does it have to be run?

When a telephone line is run into a new building, how does it have to be run?