When does aws sns sms SENDERID gets changed from c

2019-05-11 13:38发布

问题:

I am using aws sns for sending sms to Indian phone numbers since last two months.I am using PHP SDK for api calls.

I had sent 7000+ successful messages with custom senderid relating to our company name.But since last 4-5 days same clients/phone no.s are receiving messages with aws's default senderid "NOTICE".

I am publishing messages to a topic to send sms. Now in past few pushed messages all clients got default senderid, while in few pushed messages only few clients got default id while others got my custom id.

So, where is the problem?

回答1:

If your destination phone number is in India, your Sender ID must be registered to be able to work. You can request to register a Sender ID by opening a support ticket with AWS support (which has no cost).

Other countries require no registration, thus, some deliveries will work by just adding a sender ID value to your publish request.

You might successfully get a working sender ID to an Indian destination depending on the route the message takes to reach an end user. However, the right course of action (given technology partners and provider regulations) is to register the sender ID before using it with AWS (which is why it's not marked on the website).

Disclosure: I work at the AWS team for Mobile Messaging.



回答2:

Are you sure you have entered a valid Sender ID, so no spaces and at least one letter?

Also it's important to know that not all countries support a custom Sender ID. See documentation from AWS bellow:

(Optional) For Sender ID, type a custom ID that contains up to 11 alphanumeric characters, including at least one letter and no spaces. The sender ID is displayed as the message sender on the receiving device. For example, you can use your business brand to make the message source easier to recognize.

Support for sender IDs varies by country. For example, messages delivered to U.S. phone numbers will not display the sender ID. For the countries that support sender IDs, see Supported Regions and Countries.

If you do not specify a sender ID, the message will display a long code as the sender ID in supported countries. For countries that require an alphabetic sender ID, the message displays NOTICE as the sender ID.

This message-level sender ID overrides your default sender ID, which you set on the Text messaging preferences page.

Source: http://docs.aws.amazon.com/sns/latest/dg/sms_publish-to-phone.html