The filter would be to avoid DIDs that require documentation or ID, please see the image attached.
$NeedDocuments = 0 : All DIDs
$NeedDocuments = 1 : All DIDs with document requirements
$NeedDocuments = 2 : All DIDs with no document requirement
Our answer immediately:
We have made you a new function "getAvailableRatedDIDSbyCountryCodeAndDocs" which is exactly same as getAvailableRatedDIDSbyCountryCode, but with a difference that it has one more argument which is for document requirements.
The reason for not touching the already existed function is that this function is mostly used among customers and sometimes the change in the function arguments or return fields not acceptable by most API users.
Please test the function and let me know if it works for you well.
(So, we ask DIDX members to test it and let us know.)
*** Some governments requires certain documentation before a DID can be purchased. All DIDX members are required to take it as their responsibility to follow the law. See http://kb.didx.net/tiki-index.php?page=Documents+Requirement.
Join the VIPeering Summit at ITEXPO West Oct. 5, 2010 at 9:30 AM. The complete conferences are in Los Angeles, California from Oct. 6-8, 2010.
..... Are you an IP communications related entrepreneur, telco of any type, wired or wireless, contact center, social or business community portal provider, conference producer and such? Join us at DIDXchange, where you will connect with thousands of telecom-related companies on the wholesale marketplace for virtual phone lines, virtual phone numbers from over 70 countries! If not, find out how to get your telephone company to offer phone numbers from around the world. Join our Twitter, podcasts and recommended events.