Chack number from contacts is mobile or fixed line(landline) number

601 Views Asked by At

I wanted to have a check whether the phone number getting from the contacts is a Mobile number or a fixed line(landline) number. I have tried using the regrex but all is in vain..any help will be highly appreciable

1

There are 1 best solutions below

2
On

For filtering contact by mobile number and landline you need have list of std code in database and then you can check if immediate digits after country code match std code then it's landline. You can search for such api as well.

Try : http://www.searchbug.com/api/