Epic interview question

Design an algorithm that outputs random phone numbers given some constraints.