AfricasTalkingLtd / africastalking.Net

Africa's Talking API Wrapper for C#
https://developers.africastalking.com
MIT License
18 stars 38 forks source link

The message is either empty or phone number is not valid - with valid phone number #48

Closed XardasLord closed 3 years ago

XardasLord commented 4 years ago

Sometimes I'm getting the following error message from your library: "The message is either empty or phone number is not valid", but the number is valid and exists, for example for number "+254111604133".

Is there something wrong with your logic which validates the phone number?

I'm using the AfricasTalking.NET in version 1.1.720.

XardasLord commented 4 years ago

As far as I know from our client from Kenya the Safaricom introduced new prefixes (254111 and 254110) to phone numbers. Africa's Talking claims to have added these prefixes to their database.

TheBeachMaster commented 3 years ago

Hi @XardasLord ,

Noted, an update to the phone number library will be made.

TheBeachMaster commented 3 years ago

@XardasLord this will be fixed in the next package update v1.2.1 pending this issue > https://github.com/brandedoutcast/publish-nuget/issues/51

Update: Use v1.2.1