[SR-Users] pdb and carrier id zero in finnish LNP

Mikko Lehto mikko.lehto at setera.fi
Mon Sep 13 19:30:51 CEST 2010


> > (Queries seem to work after I changed MIN_PDB_CARRIERID in common.h to 0,
> > but unfortunately that configuration just does not make sense.)
> 
> Do you refer to the fact that then also the internal logic of the module needs 
> to be changed as well?

Yes, exactly.

 
> Well, the module could be changed, that maybe could also use something like 
> 997 or 998 for the "not found" id could be used.

Those are part of the reserved range around here, but length is four
starting from 9900.
0998 could be "not found" and 9900 first four digit carrier.

That would work for my case, maybe I'll try mapping zero to something else with
my vintage C skills.


> You're right, it should be only in the carrier name file. I'll fix this. 
> Somehow this is used from german regulation authorities, it stands probably 
> for the country name. We could probably change it, patches are welcome. ;-)

It's OK like that, I'll rather mess with the "not found" case for now.

Country prefix could actually be useful if one file has carrier names
from multiple countries.


> Great, thank you! I'll add it to the repository, and also fix the german one 
> (some changes in URL)

Nice, I see you like wget more :)

-- 
Mikko Lehto



More information about the sr-users mailing list