added validation for phone numbers with extensions