Nuntium assumes a single MMS context

Bug #1362795 reported by Antti Kaijanmäki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nuntium (Ubuntu)
Opinion
Medium
Sergio Schvezov
ofono (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

due to early architectural decisions our platform is only capable of dealing with one actual MMS context in the system (type="mms"). This is unfortunate as it makes creating a custom MMS in APN editor harder.

It also is unfortunate as with the Internet contexts, there might be different MMS contexts for operator and MVO's. Currently we are not able to show any of the options.

I will make APN editor to have two choices with MMS. Either "Same as Internet APN" if the internet APN is a dual context. Or "Custom".

Revision history for this message
Tony Espy (awe) wrote :

This is not an "architectural" problem. We made a design decision based on the fact that none of the operators defined in apns-conf.xml specify more than a single MMS context. As such, we didn't feel the need at the time to build some kind of settings mechanism for nuntium to allow a settings application to tell nuntium which context to use. I will add a nuntium task, as it wouldn't be that difficult to add ( ie. a simple DBus call like SetPreferredContext ).

My guess is that the current nuntium behavior is to use the first MMS context it finds.

Furthermore, we probably need to handle this anyways there's no guarantee that an operator might specify more then one MMS context in the future, and I also believe that the customization provisioning mechanism ( eg. /custom/etc/apns-conf.xml is searched if found on disk ) also could be used to force this to happen as well ( it'd be stupid, but it could happen ).

MVNO APNs are handled specially, if an APN context is found based on MVNO-matching, then all non-MVNOs from the query are thrown out.

summary: - Provisioning max. 1 actual mms context considered harmful.
+ Nuntium assumes a single MMS context
affects: ofono (Ubuntu) → nuntium (Ubuntu)
Changed in nuntium (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Antti Kaijanmäki (kaijanmaki) wrote :

Thanks tony for your comments.

Actually this also affects ofono. After nuntium can deal with multiple MMS contexts, ofono provision plugin must remove it's limit of max. 1 MMS APN being provisioned.

Changed in ofono (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Changed in nuntium (Ubuntu):
importance: High → Medium
Changed in ofono (Ubuntu):
importance: High → Medium
Revision history for this message
Antti Kaijanmäki (kaijanmaki) wrote :

settings as Medium as this is clearly post RTM work.

Revision history for this message
Tony Espy (awe) wrote :

@Antti

I'm not sure why you're focusing on the provisioning plugin. I reviewed the code and it looks like I was incorrect about there being an internal limit. None of the operators define more than one MMS context, so this is something could never happen up until the customization hooks were added to the provisioning plugin.

Revision history for this message
Tony Espy (awe) wrote :

Marked ofono task as Invalid.

Assigned nuntium task to Sergio. This probably should just be marked a duplicate of nuntium bug #1370659.

Changed in ofono (Ubuntu):
status: Confirmed → Invalid
Changed in nuntium (Ubuntu):
assignee: nobody → Sergio Schvezov (sergiusens)
Changed in nuntium (Ubuntu):
status: Confirmed → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.