I think only twice in my life I have heard a voice say my name when I was trying to fall asleep. The one I remember was just last year when I went through a nervous breakdown and was barely functioning (because of a health scare, it sent me spiraling). I heard a man's voice say my name. It was a nice sounding man, not bad. Still, it was absolutely outside my head and like my husband was talking to me.
I also have the "voices" when going to sleep which are inside my head. I get snippets of things, words, sounds, etc. It's always as I go to sleep. I also have had hypnopompic hallucinations for about ten or more years -- when I wake in the middle of the night I see things floating around the walls the ceiling. I saw a plane once, I saw a lamp, patterns and so on. Always when I wake up, lasts about 5- 10 seconds and fades away. I have sleep apnea and find it hard to use CPAP so that could be contributing.