twilio / twilio-csharp

Twilio C#/.NET Helper Library for .NET6+.
MIT License
677 stars 301 forks source link

Search available phone numbers by the first/last part of the number #761

Open OSvirhun opened 1 month ago

OSvirhun commented 1 month ago

Issue Summary

Currently, there are static methods Read and ReadAsync of LocalResource class to search for available phone numbers. They allow only the contains property for phone number searching. At the same time, twilio.com/console/phone-numbers/api/v1/available-phone-numbers/numbers supports parameter searchFilter which is responsible for searching direction.

Proposition

  1. Adjust supporting of phone numbers searching with searchFilter options like StartsWith, Anywhere, and EndsWith

Technical details:

AsabuHere commented 1 month ago

Hi @OSvirhun, Thank you for reaching out and raising this issue. We have reviewed it and added it into our internal backlog for prioritisation. +1s on this issue will help it move upward in the backlog

Ticket for tracking : https://twilio-engineering.atlassian.net/browse/DII-1698

Thanks, Athira