Don't think that's available straight off the iPhone. Some cars will have an option that does this, or you can simply answer by pressing a button on your steering wheel in some cars. There is Cydia tweak for jailbroken devices that does this however.