Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(10dlc): support multiple numbers per sending location #2

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

ajohn25
Copy link
Collaborator

@ajohn25 ajohn25 commented Mar 4, 2024

Telnyx has revealed that there's undocumented per phone number throttling for 10DLC sending. To send MMS at reasonable speeds, we need to support purchasing multiple numbers for a 10DLC sending location

This PR just uses an order by random() rather than a more precise phone number selection like we do for unregistered sending for a few reasons:

  • There's no concept of a daily contact limit for 10DLC
  • We don't need to throttle on our end. Telnyx passes on the messages to the carriers at the appropriate intervals
  • The throttling is carrier specific, and we don't currently guarantee we have carrier info before sending

@ajohn25 ajohn25 merged commit dd56994 into main Mar 4, 2024
11 checks passed
@ajohn25 ajohn25 deleted the feat-multi-tn-10dlc branch March 4, 2024 23:52
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.

1 participant