I just got the S5 and was having the same issue. After about a 5 minute research, this is what I found and now it works. Go to: Settings / About Device / Status / My phone number.
If the number says "unknown", that is your problem. Call your carrier (mine was T-Mobile). They put my number in...