On my HTC there's a menu option to block numbers in the address book.
The various people who cold-call me to flog insurance / legal services / new phone / whatever, are saved in my phone's address book as "Unwanted 1", "Unwanted 2", etc. thus allowing me to block them.
G