Hi there, On 5 August 2014 16:13, Safwan Rahman <[email protected]> wrote: > Hi, > As there many APN of different operators listed in apns_conf.xml Databse > (1). In the Database some operators APN is missing. I would like to add more > APN into the Database. For adding some more APN into the database, a bug was > filled. But, it seems that it needed to be add in AOSP first then need to > pull from there. I would like to know, without adding it into AOSP. is it > possible to add APN into our database?
We have been following a 'de facto' procedure for adding new APNs into the apn.json APN database for FxOS. The apn.json file is the merge of the three XML databases in /shared/resources/apn/*.xml: - apns_conf.xml is the AOSP database. It’s our root database because all APN in there are comfirmed somehow by the carriers. - service_providers.xml is the Gnome database. It’s used to retrieve additional information (e.g. voicemail) - operator_variant.xml is our own database (Firefox OS). It’s used to add specific information required by the carrier. - apns_conf_local.xml is our database of custom APNs. It's used to avoid breaking the main APN databases. First If we need a new APN to be added or modified we look for it in the AOSP database. If the APN is already added/modified we sync up the apns_conf.xml database and rebuild our apn.json database. If not we request the APN to be added to the AOSP database. This assure the APN is valid and accepted by the carrier it belongs because AOSP usually requests the carrier to confirm the change/addition. It assures we are not adding wrong or unconfirmed APNs. Have you tried to add those new APNs in the AOSP APN database? If you try and success that would be great. > I have seen another bug similar to this where APN of Canadian operator was > added into the Database.(3) So can I follow the same method to modify the > database and add the Bangladeshi Operator APN also? As I mentioned the apns_conf_local.xml file is our database of custom APNs. It's used for adding APNs we use for unit testing and for other fixes. IMHO we shouldn't add APNs in there unless it was the only solution. You could submit a patch in which those new APNs are added as Andrea commented (I'm fine with reviewing the change if he agrees this solution) but who can confirm the APN being added/modified is correct? Cheers, jaoo _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
