On Wed, 2009-04-15 at 18:24 +0200, Pablo Martí Gamboa wrote: > > > 2009/4/15 Dan Williams <[email protected]> > On Tue, 2009-04-14 at 15:05 +0200, Martijn Cox (LiveContacts) > wrote: > > Hello all, > > > > > > > > I’ve sent the following email to Wellark, the maintainer of > the Mobile > > Broadband Provider Info project, a few weeks ago, outlining > a way to > > include mobile country codes and mobile network codes in the > MBPI > > project. In the meantime, we’ve already implemented this > scheme in our > > company, and have successfully used it to extract the APN’s > for two > > providers in one country. Would you be interested in using > this > > scheme? > > > Yeah, that would be pretty cool. IIRC, we can then extract > bits from > the IMSI and figure out which provider the SIM is for too, > right? > > Yes, but the problem is that most of the countries use a MCC/MNC > scheme of 3+2(23401), while USA uses 3+3 (310380).
Yeah, but that can be special cased when doing the matching after reading the IMSI. There's a limited number of US MCCs so we'll know without too much trouble whether to look for a 2 or 3 character MNC. Dan > > > > Can you provide a sample of how this would look in the XML > config too? > We need to ensure that we can store multiple MCC/MNC codes for > each > provider in the table. > > Dan > > > > > > > > As Wellark has been very busy, he has asked me to forward > this message > > to both the NetworkManager and the Wader Development mailing > list, as > > he suspects there is additional interest these development > groups in > > adding country code and network codes to the MBPI project. > Note that I > > currently have no idea what the NetworkManager and Wader > development > > groups are, as this is not within the scope of my current > > job-assignment. > > > > > > > > Regards, Martijn. > > > > > > > > From: Martijn Cox > > Sent: woensdag 1 april 2009 13:00 > > To: '[email protected]' > > Subject: apn list, adding mcc & mnc > > > > > > > > > > Hi Wellark, > > > > > > > > I’m a developer for (amongst others), the blackberry > platform. I’ve > > come across your project, and wish to contribute by adding > the mobile > > country code and mobile network code to the xml file, based > on the > > Wikipedia list @ > http://en.wikipedia.org/wiki/Mobile_Network_Code. Do > > you regard such an endeavor as ok? > > > > > > > > I would like to add them, according to the > following > > DTD, which is based on your supplied DTD, with additions in > yellow: > > > > > > > > <!ELEMENT serviceproviders (country*)> > > > > <!ATTLIST serviceproviders format CDATA #REQUIRED> > > > > > > > > <!ELEMENT country (provider* ,mcc+)> > > > > <!ATTLIST country code CDATA #REQUIRED> > > > > > > > > <!ELEMENT provider ( mnc+, > > > > name+, > > > > (gsm|cdma), > > > > username?, > > > > password?, > > > > dns*, > > > > gateway?)> > > > > > > > > <!ELEMENT name (#PCDATA)> > > > > <!ATTLIST name xml:lang CDATA #IMPLIED> > > > > > > > > <!ELEMENT gsm (apn)> > > > > <!ELEMENT apn (#PCDATA)> > > > > > > > > <!ELEMENT cdma EMPTY> > > > > > > > > <!ELEMENT username (#PCDATA)> > > > > <!ELEMENT password (#PCDATA)> > > > > <!ELEMENT dns (#PCDATA)> > > > > <!ELEMENT gateway (#PCDATA)> > > > > > > > > <!ELEMENT mcc (#PCDATA)> > > > > <!ELEMENT mnc (#PCDATA)> > > > > > > > > Do you think that would be ok? The reason for these > additions is that > > it’s easier to search this way when you have access to a > provider id > > (mobile network code), and mobile country code (i.s.o. the > country > > identifier you use, which is currently not available for > me). > > > > > > > > Regards, > > > > > > > > Martijn Cox > > > > Livecontacts B.V. > > > > > > > > > > > > _______________________________________________ > > NetworkManager-list mailing list > > [email protected] > > http://mail.gnome.org/mailman/listinfo/networkmanager-list > > _______________________________________________ > NetworkManager-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/networkmanager-list > > > > > -- > Pablo Martí > http://www.linkedin.com/in/pmarti || http://www.warp.es > python -c "print '706d6172746940776172702e6573'.decode('hex')" > _______________________________________________ NetworkManager-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/networkmanager-list
