Hi Alfonso, No top posting on this mailing list please. > No problem with splitting the patch. > > The patch is related to the following bug: > > https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/1222106 > > So we were obtaining some times settings for the MMS APN instead of the > internet one. Maybe the change makes it work only for internet > connection, but not for MMS. Would that mean that get_settings() should > have a parameter specifying the context type so the user decides? > The mbpi parser will assign a context type to the provisioned context based on the "type" attribute inside mobile-broadband-provider-info. So assuming the parser is working correctly, the context will be labeled accordingly in oFono on the D-Bus API level. The parser works by returning all contexts that match a particular mcc/mnc if and only if no conflicts or multiple matches are found. Since you're saying it picks the 'wrong' one, then I assume the issue is inside your application, not oFono. What does test/list-contexts output look like when you run the provisioning procedure? Regards, -Denis