Open vjaganathan-twilio opened 3 years ago
Thanks @vjaganathan-twilio for raising this. We saw that in testing, but the solution is not straightforward. The callback procedure doesn't do any validation of the input. Also, users rarely input their numbers in E.164 format (e.g. usually they don't even provide country code).
This to say that the solution is not straightforward and there are a lot of assumptions that needs to be made (e.g. if the country code is not provided, which country code is used: the one of the caller or the one of the called number?).
Let me see if we can at least improve the Flex plugin frontend to alert the agent about it, and give them the opportunity to change the number before dialling.
@vernig Thanks for your quick response yes I understand, there will be few assumptions to be considered or we can validate the phone number, (for example (Irish number --->country code + 9 digits)). I do understand it vary country by country, but it would be very nice if it is new feature. Moreover, that would be great if the agent can edit the number before call.
Test procedure: Tool: Monkey Phone-tester
Result: In the Task attributes the call-back number is not a valid E-164 format ("+" sign in prefix is missing) So, when the agent tries to place a call it gives "Dialed number is invalid. Please check the number and try again."