For certain positions when the Shari'ah constrains to men or women, it does not signify discrimination. Here the laws of Islam are designed as such that it matches the nature of a person. On the Question of Quran and Sunnah we find that this is not discrimination rather it is the law that is set for both the genders for their betterment in this world.
Here what we can find in the Sunnah about equality of men and women:
Prophet used to visit Umm Waraqa in her own home; he appointed a Mu'adhin (one who calls the adhan for Prayer) for her, and ordered her to lead the members of her household (in Prayer)." Umm Waraqah-as stated in the sources-was an esteemed woman of Al-Ansar who had memorized the Quran. 'Abdul-Rahman Ibn Khalid, the narrator of the Hadith, further states: "I happened to see her Mu'adhin, who was a person advanced in age."
Here is the complete article:
Can women lead jumah prayer