By using AWS re:Post, you agree to the AWS re:Post Terms of Use

Cannot send outbound text via SNS

0

I am running in us-east-2 (Ohio). I cannot get the SNS service to send a simply outbound text message. I am no longer in the sandbox and received approval to be in production. In the SNS console under "Text Messaging (SMS)", I am getting the following error message in the SMS delivery log - "Status: Failure" and "Provider Response: No origination identity available to send to destination number". I am running the following code in my python lambda function that causes this error:

phone_number = "+1##########" #simply masking the phone number
message = "Hello, this is a test Nov7 SMS message."

response = sns.publish( PhoneNumber=phone_number, Message=message )

What is the 'origination identity' and how do I address this issue?

asked a month ago30 views
3 Answers
0

As per the documentation, It can take up to 15 business days for your registration to be processed after it is submitted. Once you submitted the registration, it’s initial status will be “CREATED” and should change to “REVIEWING” within 24 hours. Once submitted, you will be unable to edit or delete this registration until it is approved or rejected by the third-party registrar that controls the registration process for the type of registration you are submitting. You begin incurring costs for the TFNs as soon as you request the phone number, even if your registration is not submitted or is not approved.

While AWS submits the registration on your behalf, we do not participate in the actual review process, nor can we influence the third-party. The review process for TFNs can take up to 15 business days and if the information provided in the registration process is incomplete, inaccurate, or the use case falls into a forbidden category , the application can be rejected. If your toll-free number registration is rejected, the status of your registration will change to “Requires Updates“. I recommend monitoring your registration status frequently to ensure that you do not miss an update and extend the time it takes to complete.

The actual registration review process is conducted by a third-party company and it can take up to 15 days to receive an acceptance (“COMPLETE”) or request for additional information or corrections (“Requires Update“) for each request. Once the registration is completed, the numbers will be set to “ACTIVE” status and then you can begin sending messages with your TFN(s). All the above details are mentioned in the below blog and documentation.

[+] https://aws.amazon.com/blogs/messaging-and-targeting/automate-us-tfn-registrations/

[+] https://docs.aws.amazon.com/sms-voice/latest/userguide/registrations-tfn.html

AWS
answered 21 days ago
  • I applied for a toll-free number on 11/8/24. I am concerned that for whatever reason I will not hear back or the request will be denied. I thought I would have heard back from now, but the number in the SNS console still reflects 'Pending'. Is there another alternative if the request for the toll-free number is never responded to or is denied? I am concerned that I should be pursuing another option to send outbound text messages as it has been almost 3 weeks since I submitted the request and in that time, there may have been a much easier solution to use for just sending outbound only text messages. Are there other options?

  • To Register a toll-free number, there are two steps:

    1. You first need to request the toll-free number. When you request the toll-free number in the Registration Required window enter a friendly name for the registration.

    2. You can begin the registration process by choosing Begin registration or choose Register later to come back and complete the form.

    After you've created your toll-free number registration you need to complete the form and submit it for approval.

    To proceed, you need to complete and submit your TFN registration form[1]. Once you do this, the status of your registration will change to "Reviewing." This state means that your registration has been received and is under review, which may take up to 15 business days. Following this review, the status may change to one of the following[2]:

    1. Complete – Your registration has been approved, and you can begin using the Toll-Free Number for messaging.
    2. Requires Updates – Additional information is needed. You will be prompted to address specific issues and resubmit your registration[3].
  • Please refer to the following documentation for guidance on completing and submitting your registration form:

    1. TFN Registration Form Instructions
    2. Registration Status Definitions
    3. Editing Your Registration

    Some countries require you to register your company's identity to be able to purchase phone numbers or sender IDs and review the messages you send to recipients in their country. For more information on which countries require registration, see Supported countries and regions for SMS messaging with AWS End User Messaging SMS.

    [+] https://docs.aws.amazon.com/sms-voice/latest/userguide/phone-numbers-sms-by-country.html

0

The error message "No origination identity available to send to destination number" typically indicates that there's an issue with the sender ID or origination number for your SMS messages. The "origination identity" refers to the phone number or sender ID that appears as the sender of the SMS.

To address this issue, you need to set up an origination identity for your SMS messages. Here are some steps to resolve this:

  1. Set up an Origination Identity:
  2. Use an Origination Number:
  3. Specify the Sender ID in your code:
  4. Check your SNS settings:
  5. Verify your destination number:
  6. Check your AWS account status:

Remember that SMS capabilities and regulations can vary by country and region. Make sure you're complying with all relevant regulations and AWS policies for SMS messaging in your target regions.

Here is a link to some documentation on Originating Identities

https://docs.aws.amazon.com/sns/latest/dg/channels-sms-originating-identities.html

If none of the above steps resolve the issue, it may be necessary to contact AWS Support for further assistance. They can provide specific guidance based on your account and cluster configuration.

AWS
answered a month ago
  • I am in the United States. I went through the documentation and am still confused as to how to obtain an origination id. The documentation says that Sender Id's are not supported in the US. So then it appears that either a long code, short code, or toll free number is required. I went through the console and followed the 'Origination IDs' link, but it is unclear whether I am supposed to somehow supply a toll free number to use or similarly a long code or short code. Does AWS provide these numbers or am I supposed to go to some 3rd party entity to obtain the codes/number and then supply to AWS? I went through the documentation multiple times and it is very confusing how to simply send an outbound text as there appears to be a lot of prerequisites that are confusing to know how they are related.

0

For the US, you're correct that Sender IDs are not supported. You'll need to use either a long code, short code, or toll-free number.

These serve as your origination identity, and without one of these, you cannot send SMS messages.

AWS does provide these numbers, and you don't need to go to a third-party entity. Here's how you can obtain them:

a) Long Codes: These are 10-digit phone numbers. You can request these directly through the AWS SNS console.

b) Short Codes: These are 5 or 6 digit numbers. They're more expensive but have higher throughput. You need to request these through AWS Support.

c) Toll-Free Numbers: These are 10-digit numbers starting with 8xx. You can request these through the AWS SNS console as well.

To request a new phone number for the United States through the AWS End User Messaging SMS console follow the directions in the Request a phone number for the United States (Console) tab.

[+] https://docs.aws.amazon.com/sms-voice/latest/userguide/phone-numbers-request.html

AWS
answered a month ago
  • I tried option c) Toll-Free Numbers, but my submission status still says 'Pending'. How long does the process take and would it be easier to do option a) or b)? I have been trying to get simple text messaging to work for about a month and it is very confusing. If I am assigned/granted a Toll-Free Number, are there additional services that I need to purchase to end a small number of outbound text messages?

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions