Large airports have a frequency called Clearance Delivery which is used by departing aircraft specifically for this purpose.