+ The migrator is a tool which takes in a given E.164 phone number(s) + input as well as the corresponding BCP-47 country code. The tool + will then check the validity of the phone number based on the country code and if possible, will convert the number + into a valid, dialable format. +
+The following are the two available migration types that can be performed:
++ For more information on the capabilities of the migrator as well as instructions on how to install the command line + tool, please view the documentation. +
+The stale number '" + request.getAttribute("number") + "' was successfully migrated into the" + + " phone number: +" + request.getAttribute("validMigration") + "
"); + } else if (request.getAttribute("invalidMigration") != null) { + out.print("The stale number '" + request.getAttribute("number") + "' was migrated into the phone number:" + + " +" + request.getAttribute("invalidMigration") + ". However this was not seen as valid using our internal" + + " metadata for country code +" + request.getAttribute("numberCountryCode") + ".
"); + } else if (request.getAttribute("alreadyValidNumber") != null) { + out.print("The entered phone number was already seen as being in a valid, dialable format based on our" + + " metadata for country code +" + request.getAttribute("numberCountryCode") + ". Here is the number in" + + " its clean E.164 format: +" + request.getAttribute("alreadyValidNumber") + "
"); + } else { + out.print("The phone number '" + request.getAttribute("number") + "' was not seen as a valid number and" + + " no migration recipe could be found for country code +" + request.getAttribute("numberCountryCode") + + " to migrate it. This may be because you have entered a country code which does not correctly correspond" + + " to the given phone number or the specified number has never been valid.
"); + } + out.print("Think there's an issue? File one here following the given guidelines.
"); + } else if (request.getAttribute("fileError") == null && request.getAttribute("fileName") != null) { + out.print("Below is a chart showing the ratio of numbers from the entered file that were able to be migrated" + + " using '+" + request.getAttribute("fileCountryCode") + "' migration recipes. To understand more," + + " select a given segment from the chart below.
"); + out.print("Rows keys are serialized via the marshaller and produce leading columns: + *