Subject: Re: [Enum] CC length computation from number

From: "Stastny Richard" <[email-masked]>
Date: Wed, 22 Jun 2005 15:51:11 -0400

>I've forgotten where the reference to the CC construction algorithm is. ITU
>weenies to the front please...

ITU-T Rec. 164 ?
 
Richard
PS: Since the number space is not exhausted yet, there is no significant change
expected mid-term. (And in the long term we are all dead - Schumpeter)
 
In any case there is not change to be expected to make the CC longer then 3 digits
What is changing all the time is the assignment to countries, but this is basically
a UNO problem and not an ITU-T problem

________________________________

Von: enum-bounces at ietf.org im Auftrag von Michael Haberler
Gesendet: Mi 22.06.2005 21:43
An: enum at ietf.org
Betreff: [Enum] CC length computation from number

here's a test on the current table from
http://www.itu.int/itudoc/itu-t/ob-lists/icc/e164.html, massaged into
http://mah.priv.at/enum/cc_code_test.c

the test program to check all these cc's is in
http://mah.priv.at/enum/cc_code_test.c

mah at www:~$ gcc  -DTEST cc_code_test.c
..
mah at www:~$ ./a.out <countrycodes.csv
cc(0) : got 0 expected 1 for number '047110815'

Ok, CC '0' doesnt work but that isnt a CC in the first place.

--

so the "gamble is" wether the ITU will change its rules before numbers go away.

I've forgotten where the reference to the CC construction algorithm is. ITU
weenies to the front please...

-Michael

_______________________________________________
enum mailing list
enum at ietf.org
https://www1.ietf.org/mailman/listinfo/enum

_______________________________________________
enum mailing list
enum at ietf.org
https://www1.ietf.org/mailman/listinfo/enum