Chosen Solution
I can not hear through the ear speaker when calling someone, but i can use the headphones and hear just fine.
Replace your #3 ribbon DIY iPhone 3GS Proximity Sensor Ribbon Replacement
This is the part which holds the earpiece speaker. It could be a broken cable #3 or some other damage. Does the proximity sensor respond normally? IE does the screen shut off when covering the top portion of the phone while on a call?