Hi,
You can use a service called "HLR Lookup", usually presented in a web-based
API, to find out
definitively what network a number is on.
Here's one I've used:
http://www.cardboardfish.com/products/largesmsaccounts/numbervalidation.html
Yes, it does cost per lookup. This is the only scriptable way I know of to
find out if a number
is on a certain network though. Or you could take your chances and assume
087 = vodafone
etc - you'll be right I'd guess about 90% of the time.
Rafiq
On Wed, Dec 30, 2009 at 4:57 PM, Gavin McCullagh <gmccullagh at gmail.com>wrote:
> Hi,
>> On Wed, 30 Dec 2009, Aidan Keady wrote:
>> > A text to 50004 is free.
>> To Meteor users, to any Irish mobile, to anyone in Ireland, ...?
>> That data could be cached -- even if the response were too slow for the
> first call, it could be used subsequently and re-checked at regular
> intervals.
>> Does each network have such a service by any chance?
>> Gavin
>> --
> Irish Linux Users' Group mailing list
> About this list : http://mail.linux.ie/mailman/listinfo/ilug> Who we are : http://www.linux.ie/> Where we are : http://www.linux.ie/map/>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!