AWS SNS - SMS not receive to mobile at some times

0

I enable the cognito MFA with SMS method. When I testing this implementation I realized that sometimes I didn't receive the MFA token to the mobile, but at that time in AWS SNS, Text messaging (SMS) log was at success status. I was trying to send MFA code to Sri Lankan (+94) mobile number. My SNS is active in production mode.

In the Text messaging (SMS) delivery log there are two provider response, one is "Message has been accepted by phone carrier" and other one is "Message has been accepted by phone". When I got the "Message has been accepted by phone carrier", on that time I didn't receive the MFA token to my mobile.

I don't see where the problem is considering. Kindly assist to me.

Amila
질문됨 2달 전163회 조회
1개 답변
1

To understand what is going wrong we have to understand how SMS ecosystem works in Amazon SNS.

When we publish SMS text messages to Amazon SNS, it hands over the SMS text message to a third party aggregator. This aggregator would then contact the corresponding mobile carrier to which the destination number belongs to. The destination mobile carrier would then deliver the SMS text message to the end device (mobile phone).

Depending on the status of the SMS text message, the mobile carrier would generate a status message called "Delivery Report" and send that over to the aggregator. The aggregator would in turn send that delivery report back to SNS which shows up as SNS SMS delivery status logs in your CloudWatch log group(s).

Now, the status message "Message has been accepted by phone carrier" means that the mobile carrier has successfully accepted the SMS text message from AWS via the aggregators and will attempt the SMS text delivery. This delivery status log message usually does not mean that the SMS text message has been successfully delivered to the end device.

To further troubleshoot SMS delivery issues like this, you have to engage the aggregators and the mobile carriers. To engage them, please reach out to AWS Support and provide them with the SMS message IDs from your CloudWatch log group. Please ensure that these message IDs are not older than 72 hours. This is because, majority of the telecom operators and the AWS aggregators do not hold on to message IDs and their details for more than 3 days.

AWS Support team should be able to engage the aggregators and the mobile carriers in Sri Lanka to further troubleshoot the issue.

I hope this helps.

AWS
답변함 2달 전
profile pictureAWS
전문가
검토됨 2달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠