Currently I search for available phone numbers using the Twilio Python API, then filter out the numbers that don't match specific Twilio phone number capabilities:
local = client.available_phone_numbers('US').local.list(
'limit': 50,
'area_code': '609'
)
records = []
for record in local:
if record.capabilities['voice'] == False:
continue
records.append(record)
This is inefficient and problematic for several reasons. I would like to be able to search based on capability (voice, sms, mms, fax), but can't find out how in the documentation or by browsing through the library files.
Is this possible?