It’s worth taking a look at how the iPhone display behaves during a call. Especially if there is film or glass glued to the display.
Sometimes the screen may not turn off when the iPhone is brought close to your ear during an active call. Or vice versa, do not turn back on when moving away from your head until the conversation is completed.