This is a work from 2013, written in Python 2.
The program uses the following information sources:
- Databases from ARCEP/INSEE, converted to SQLite format and then fetched locally
- Annu.com's API. Annu.com is Iliad's reverse telephone directory
- The ADSL eligibility test of OVH Telecom
./whoistel.py <french telephone number> [--no-annu] [--no-ovh]
You need Python 2.7 to run this script.
- Database that links geographic phone numbers to operators and city codes
- Database that links phone numbers ranges to operators
- Database that links city codes to city names (from INSEE)
- Database that links operator codes to operator names
http://v3.annu.com/cgi-bin/srch.cgi
GET parameters:
j
:1
(removing this parameter sets the Content-Type header to text/html instead of text/plain)s
: the phone numbern
: the maximum number of resultsi
:062C706C-A373-402E-B62A-89994449CD16
(this parameter apparently may be removed or modified without difference)lat
/long
: user's position? These parameters aren't mandatory and looks useless, that's maybe for Iliad's statistics
https://www.ovhtelecom.fr/cgi-bin/ajax/ajaxEligibilityCheck.cgi
GET parameters:
number
: the phone numberlightRequest
:yes
if you want less informationsfromIndexBar
:yes
if the content is loaded from ovhtelecom.fr's homepage. This parameter looks uselesscallback
: a function name if you want to use JSONP, otherwise don't send this parameter
- Plan de numérotation téléphonique en France
- Numéros de téléphone français en 08
- Indicatif téléphonique local en France
- Liste des préfixes des opérateurs de téléphonie par internet en France
- Liste des préfixes des opérateurs de téléphonie mobile en France
- ARCEP: Les numéros 08 et les numéros courts
- Orange: Le service téléphonique
- SFR: Tarifs et conditions générales d'inscription
- Free: Tarifs France métropolitaine mobiles et numéros spéciaux
- 118XYZ: Les principaux tarifs des services 118
- Use this database to show all cities composing a ZNE, not only the chief town
- Maybe add a backend for a website allowing to access the data of the G'NUM database
- Create a database about the surcharge of four-digits numbers
- Choose a language for the script and the README between French, English, or Frenglish
- Find a INSEE database that contains the name of cities with normal case
- Build packages for various distributions