Currently, this isn’t a feature that is available on the iPhone (as of firmware 1.1.4), but it has been rumored to be part of the coming iPhone 2.0 upgrade.