Professors understandably have a lot of trouble with a lot of names, and even if it could be solved by people repeatedly correcting the professors, a) not everyone feels comfortable doing so and b) it can often feel disruptive of class to, after every time the professor says your name, correct his/her pronunciation.
The point is that for whatever reason many professors have trouble pronouncing the names of many students.
Adding a section on each student's Platform profile (or somewhere visible to classmates & professors) for students to write out phonetically the pronunciation of their name could help solve this problem.