1 Answer
- Newest
- Most votes
- Most comments
0
You must have a dedicated origination phone number in each country that your destination numbers are located in. The Pinpoint documentation includes a list of countries where dedicated voice phone numbers are available.
I know this information slightly disagrees with what is listed on the pricing page for Pinpoint. I've contacted the relevant team and asked them to update the pricing page to make this point clearer.
Relevant content
- asked 2 years ago
- asked 2 years ago
- How do I set up logging for Amazon Pinpoint voice messages for Amazon Pinpoint SMS and Voice v2 API?AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- How do I set up logging for Amazon Pinpoint voice messages for Amazon Pinpoint SMS and Voice v1 API?AWS OFFICIALUpdated 2 years ago
I cannot find documentation on this error either and I have the same issue. I'm using pinpoint voice service in us-east-1 region. I'm using sample python code published here: https://docs.aws.amazon.com/pinpoint/latest/developerguide/sms-voice-v2-messages.html#sms-voice-v2-messages-voice This is my error message: An error occurred (ValidationException) when calling the SendVoiceMessage operation: Validation Error Occurred - Reason="INVALID_IDENTITY_FOR_DESTINATION_COUNTRY" Fields="destinationPhoneNumber" if my OriginationIdentity (phone number) country matches destinationPhoneNumber country, then I don't get this error and my voice message gets sent successfully. If my OriginationIdentity number country doesn't match destinationPhoneNumber, I get the INVALID_IDENTITY_FOR_DESTINATION_COUNTRY error. From this menu: https://us-east-1.console.aws.amazon.com/pinpoint/home?region=us-east-1#/sms-account-settings/phoneNumbers I can only request a phone number from a list of only 32 countries. There are 195 countries (according to https://www.worldometers.info/geography/how-many-countries-are-there-in-the-world/ ) - the countries that I need to send voice messages to are not on the list (e.g. Thailand, Pakistan, Belize, Cameroon, etc.) This PinPoint pricing page has a per minute price for every country in the world https://aws.amazon.com/pinpoint/pricing/
The AWS support team should publish documentation on the restriction rules of OriginationIdentity, which countries can it call?