We have released a minor update to our SMS solution for Microsoft Dynamics CRM that allows you to set a default country code in the configuration entity. This is so that you can store local mobile numbers in your country format instead of having to store numbers in the full international format. Mobile numbers outside of your country will still need to be stored in full with the country code e.g. 00 1 212 123 123 or +1 212 123 123.

There is a new field on the configuration entity to store the default country code. The defaults to 44 (UK) if it is left blank.

SMS Configuration Default Country Code

The default Country Code is applied to mobile numbers as follows:

Default Country Code Example Number Full converted number in international format
[blank] 07712 123 123 00447712123123
44 (0)7712 123 123 00447712123123
44 7712 123 123 00447712123123
If the country code is matched it does not get appended twice)
44 +44 (0)7712 123 123 00447712123123
44 +447712123123 00447712123123
44 447712123123 00447712123123
1 212 123 123 001212123123
1 +1 212 123 123 001212123123

 

Download the new solution from here

Please let us know if you have any feedback.