Skip to content

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

Open
@rgyardi

Description

@rgyardi

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumImportant but not urgent; Workaround availabletype: questionquestion directed at the library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions