Cannot open MMS data connection with Saunalahti SIM

Bug #1350209 reported by Martti Piirainen
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ofono (Ubuntu)
Fix Released
High
Tony Espy

Bug Description

Test steps (on mako HW, image 157):
 - Insert Saunalahti (Finland) prepaid SIM
 - Check that the MMS access point settings are correctly provisioned (apn=mms, proxy=213.161.41.57, mmsc=http://mms.elisa.fi)
 - Send or receive an MMS
Actual result:
 - Neither sending nor receiving MMS succeeds
 - oFono cannot open the data connection for MMS, because the GPRS context returned by the modem does not include DNS details:

Jul 28 14:18:25 ubuntu-phablet ofonod[1254]: Device: < 00 00 00 00 de 00 00 00 00 00 00 00 09 00 00 00 ................
Jul 28 14:18:25 ubuntu-phablet ofonod[1254]: Device: 01 00 00 00 00 00 00 00 ff ff ff ff 02 00 00 00 ................
Jul 28 14:18:25 ubuntu-phablet ofonod[1254]: Device: 02 00 00 00 02 00 00 00 49 00 50 00 00 00 00 00 ........I.P.....
Jul 28 14:18:25 ubuntu-phablet ofonod[1254]: Device: 0a 00 00 00 72 00 6d 00 6e 00 65 00 74 00 5f 00 ....r.m.n.e.t._.
Jul 28 14:18:25 ubuntu-phablet ofonod[1254]: Device: 75 00 73 00 62 00 30 00 00 00 00 00 10 00 00 00 u.s.b.0.........
Jul 28 14:18:25 ubuntu-phablet ofonod[1254]: Device: 31 00 30 00 2e 00 31 00 37 00 30 00 2e 00 34 00 1.0...1.7.0...4.
Jul 28 14:18:25 ubuntu-phablet ofonod[1254]: Device: 38 00 2e 00 31 00 35 00 32 00 2f 00 33 00 30 00 8...1.5.2./.3.0.
Jul 28 14:18:25 ubuntu-phablet ofonod[1254]: Device: 00 00 00 00 00 00 00 00 00 00 00 00 0d 00 00 00 ................
Jul 28 14:18:25 ubuntu-phablet ofonod[1254]: Device: 31 00 30 00 2e 00 31 00 37 00 30 00 2e 00 34 00 1.0...1.7.0...4.
Jul 28 14:18:25 ubuntu-phablet ofonod[1254]: Device: 38 00 2e 00 31 00 35 00 33 00 00 00 8...1.5.3...
Jul 28 14:18:25 ubuntu-phablet ofonod[1254]: gril/gril.c:handle_response() comparing req->id: 222 to message->serial_no: 222
Jul 28 14:18:25 ubuntu-phablet ofonod[1254]: drivers/rilmodem/gprs-context.c:ril_setup_data_call_cb() *gc: 0x6b69c8
Jul 28 14:18:25 ubuntu-phablet ofonod[1254]: gril/grilunsol.c:g_ril_unsol_parse_data_call_list()
Jul 28 14:18:25 ubuntu-phablet ofonod[1254]: handle_settings: no DNS:
Jul 28 14:18:25 ubuntu-phablet ofonod[1254]: drivers/rilmodem/gprs-context.c:ril_gprs_context_deactivate_primary() *gc: 0x6b69c8 cid: 0 active_rild_cid: -1
Jul 28 14:18:25 ubuntu-phablet ofonod[1254]: ril_gprs_context_deactivate_primary: couldn't remove call_list listener for apn: mms.
Jul 28 14:18:25 ubuntu-phablet ofonod[1254]: gril/gril.c:ril_request_create() req: RIL_REQUEST_DEACTIVATE_DATA_CALL, id: 223, data_len: 24

Related branches

Revision history for this message
Martti Piirainen (piiramar) wrote :

oFono rejects all data contexts without DNS settings. When removing that check, MMS sending/receiving succeeds. We need to study if that DNS validity check is needed at all.

Tony Espy (awe)
Changed in ofono (Ubuntu):
assignee: nobody → Martti Piirainen (piiramar)
status: New → Confirmed
importance: Undecided → High
status: Confirmed → In Progress
Revision history for this message
Martti Piirainen (piiramar) wrote :
Revision history for this message
Martti Piirainen (piiramar) wrote :

Fix committed in oFono GitHub master branch. Successfully tested it once more on top of image 190.

Un-assigning myself. Tony, please take care of integration/landing.

Changed in ofono (Ubuntu):
assignee: Martti Piirainen (piiramar) → nobody
Revision history for this message
Tony Espy (awe) wrote :
Changed in ofono (Ubuntu):
status: In Progress → Fix Committed
assignee: nobody → Tony Espy (awe)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ofono - 1.12.bzr6874+14.10.20140820-0ubuntu1

---------------
ofono (1.12.bzr6874+14.10.20140820-0ubuntu1) utopic; urgency=medium

  [ Martti Piirainen ]
  * rilmodem, unit: Relax DNS validity check, unnecessary for MMS
    (LP: #1350209)

  [ Alfonso Sanchez-Beato ]
  * gril, unit, rilmodem: Fix zero signal strength in MTK modems
  * gril, mtk, ril: Retry when failing to connect to rild
  * ril, mtk, rilmodem: Create SimManager even when there is no SIM

  [ Tony Espy ]
  * plugins: Add max retry logic for rild connect
 -- Ubuntu daily release <email address hidden> Wed, 20 Aug 2014 09:47:55 +0000

Changed in ofono (Ubuntu):
status: Fix Committed → Fix Released
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.