Skip to content

Do not specify origination number when sending SMS with Sender ID#6572

Merged
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/sender-id-origination-numbers-for-sms
Jul 11, 2022
Merged

Do not specify origination number when sending SMS with Sender ID#6572
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/sender-id-origination-numbers-for-sms

Conversation

@mitchellhenke
Copy link
Contributor

Per conversations with AWS Support, specifying an origination number when using Sender ID may cause problems

Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I might have used a ternary here? but same result in the end:

Suggested change
origination_number: origination_number(country_code, sms_config, sender_id),
origination_number: sender_id ? nil : origination_number(country_code, sms_config),

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I kind of prefer keeping it all within the context of a function (though the number of parameters is approaching unwieldy)

changelog: Internal, Telephony, Do not specify origination number when sending SMS with Sender ID
@mitchellhenke mitchellhenke force-pushed the mitchellhenke/sender-id-origination-numbers-for-sms branch from 91f840b to 5e459ce Compare July 11, 2022 16:05
@mitchellhenke mitchellhenke merged commit 7da2cf0 into main Jul 11, 2022
@mitchellhenke mitchellhenke deleted the mitchellhenke/sender-id-origination-numbers-for-sms branch July 11, 2022 17:58
mitchellhenke pushed a commit that referenced this pull request Jul 11, 2022
)

changelog: Internal, Telephony, Do not specify origination number when sending SMS with Sender ID
@jmdembe jmdembe mentioned this pull request Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants