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

Twilio python function for incoming_phone_numbers.local.list does not provide only local 10DLC numbers. #717

Open
rgyardi opened this issue Jun 22, 2023 · 1 comment
Labels
type: question question directed at the library

Comments

@rgyardi
Copy link

rgyardi commented Jun 22, 2023

Issue Summary

Am using the Twilio python function - client.incoming_phone_numbers.local.list to gather a list of only local 10DLC numbers within our account so that it can be compared against the numbers already included within a messaging service, but unfortunately the local list also includes toll free numbers in it. Is this a known issue?

Steps to Reproduce

Twilio python functions

  1. Get a list of local numbers in an account SID. - client.incoming_phone_numbers.local.list(limit=100000)
  2. Get a list of numbers within a messaging service - service.phone_numbers.list(limit=10000)
  3. Compare the lists to find numbers missing in a messaging service.
  4. Add missing numbers to a messaging service.

Technical details:

  • twilio-python version:
  • python version:
@sbansla
Copy link
Contributor

sbansla commented Aug 9, 2023

This issue has been added to our internal backlog to be prioritized. Pull requests and +1s on the issue summary will help it move up the backlog.

@sbansla sbansla added the type: question question directed at the library label Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question question directed at the library
Projects
None yet
Development

No branches or pull requests

2 participants