The proximity sensor on the iPhone 4 rarely works. Many others have noticed this problem, so I'm starting a thread for people to report findings and see if we can find a solution. I've been hanging up on people, accidentally switching over for call-waiting, accidentally dialing numbers, etc. Post here if you're having the same issue.
This was mentioned by others at Yahoo Answers: http://answers.yahoo.com/question/index?qid=20100623164828AAzGVTF
This was mentioned by others at Yahoo Answers: http://answers.yahoo.com/question/index?qid=20100623164828AAzGVTF