Old Setup: Request comes to RSA agent with ten digit mobile number we process it and send OTP to the mobile.
New Setup: Request comes to RSA agent with twelve (country+mobile number)digit mobile number with prefix "+".
The New setup getting fail to sent OTP, then I read a document from RSA community portal
The following are examples of valid destination mobile phone numbers:
+1 123 123 1234
So I made changed the format accordingly it's working fine(OTP sent successful), But what will happen if any one customer outside country less then 10 digit mobile number (or) more than 10 mobile number.
India : +919999999999 we formatted as +91 999 999 9999
How can we format the below mobile numbers:
1.) If the mobile number comes like +33 999999999999999 (without country code mobile number has 15 digit)
2.) If the mobile number comes like +33 99999999 (without country code mobile number has 8 digit)