Twilio python function for incoming_phone_numbers.local.list does not provide only local 10DLC numbers.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.1k
- Forks
- 815
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 2
Description
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
- Get a list of local numbers in an account SID. - client.incoming_phone_numbers.local.list(limit=100000)
- Get a list of numbers within a messaging service - service.phone_numbers.list(limit=10000)
- Compare the lists to find numbers missing in a messaging service.
- Add missing numbers to a messaging service.
Technical details:
- twilio-python version:
- python version:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the behavior with client.incoming_phone_numbers.local.list(limit=100000) and compare its results with service.phone_numbers.list(limit=10000). Check how the local-number listing is implemented and whether the SDK or Twilio API is responsible; done means local results exclude toll-free numbers or the issue clearly identifies the upstream limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100