1.7 Alpha - SMS Country & Area Prefix handling
JIRA 902 says:
The countryPrefix and areaPrefix nodes are used to format phone numbers. The countryPrefix is only used if a phone number has a matching areaPrefix.
E.g, given a countryPrefix of "61" and an area prefix of "0", the phone number "0412345678" will be converted to "61412345678".
Playing with the Clickatell SMS gateway setup, if I set these to 61 & 0, and then enter an international number 852 9313 1234 (the format of mobile number in Hong Kong), the Email displayed shows "6185293131234".
Clickatell does require a country prefix, so the 61 & 0 settings are correct to handle Australian numbers like 0413 123 456.
However, the code does not see to be obeying "The countryPrefix is only used if a phone number has a matching areaPrefix."
Further experimentation shows that SMSGlobal gateway also has the problem, but the Generic Gateway behaves correctly - however you cannot use a number like +852 1234 1234 - the leading plus screws things up.
Regards, Tim G
Re: 1.7 Alpha - SMS Country & Area Prefix handling
Raised as https://openvpms.atlassian.net/browse/OVPMS-1316
I believe the Generic Gateway also has the problem.
-Tim A