The way the parts of a woman’s body like nail, hair, etc. should be covered, in the same way, the voice of a woman is also private and without a reason accepted by the Shariah, a woman’s voice should not reach a man and neither is it permissible for a man to listen to the voice of a non-Mahram woman.
It is not permissible for young woman to greet non-Mahram men with Salaam and neither should they reply to the Salaam of a non-Mahram man. This impermissibility of Salaam is also a means of Hijab, as given in the Hadith:
Translation of Hadith: …women should not greet a non-Mahram man with Salaam nor should they return it. (Kanz Ul Ummal, Hadith No. 45064)
If due to any religious or social necessity, a woman needs to talk to a non-Mahram male, then she should make her voice similar to that of males and should not make her voice appealing so that there is no danger of any corruption.
Allah Ta’ala says:
Translation: - And if you (blessed wives of the Holy Prophet) want to remain pious and God-fearing, then be not soft in your speech (while talking to men as and when required) lest someone whose heart is diseased (with hypocrisy) should feel included with desire. And (always) say words which are pure of any taint of doubt and flexibility. Surah Ahzaab-(33:32)
This is what is reported about the earlier, great Muslim women as Imam Jamaaluddin Ibn Jauzi writes:
Translation: I got to know the condition of the earlier, great Muslim women that whenever anybody would knock on the door and there was no other (male) person in the home, they would cup their mouths to make the voice heavy and there would not fear of corruption. (Ahkam In Nisa Li Ibn Jauzi)