Twilio python function for incoming_phone_numbers.local.list does not provide only local 10DLC numbers.
rgyardi opened this issue · comments
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:
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.