Occasional 1099 earnings

Once or twice a year, at irregular intervals I receive 1099 income for consulting work.  Do I need to file quarterly, or is there a way to make one-time additional withholding payments?  Same question for both federal and California taxes.