Write a script to ring it. If it dials, then its a valid phone. Now
write another script to text it. If you get a successful delivery,
then its a mobile phone. Done!

I don't know the real answer, unfortunately :'(

2009/6/29 Tim Kersten <[email protected]>:
>
> On my search for information I came across this 2004 post:
> http://lists.evolt.org/archive/Week-of-Mon-20041206/166952.html
>
> From the above:
>
> You see, unlike more sane telephone companies, Eircom (or rather the
> Department of Post and Telegraph, which it was part of when the "system"
> was devised) created a rather ad-hoc scheme, the rationale first being
> "nobody outside of Dublin is ever going to need a phone", then "nobody
> outside of the towns is ever going to need a phone", then "nobody in
> Connacht is ever going to need a phone", then "everybody who's ever
> going to be getting a line installed already has one", and finally "oh
> crap! We really screwed that up!"
>
> So before I go and attempt a regex or validation function for just
> landlines in Ireland, does anybody have something similar already done
> that they might share? Or perhaps any pointers to information
> necessary to implement this, other than the linked post?
>
> Obviously I'm using python, but any other implementation would be
> useful so that I can port it.
>
> Cheers,
> Tim ^,^
>
> >
>



-- 
Daniel Kersten.
Leveraging dynamic paradigms since the synergies of 1985.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Python Ireland" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.ie/group/pythonireland?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to