Can't receive MMS for Orange or SOSH by Orange in france

Bug #1490673 reported by aizac
30
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
High
John McAleely
nuntium (Ubuntu)
Invalid
Undecided
Unassigned
ofono (Ubuntu)
Fix Released
Undecided
Alfonso Sanchez-Beato

Bug Description

OTA-6 is installed on my Meizu MX4 since two days but I can't received MMS. It was the same thing with OTA-5.
However I can send MMS with or without wifi. It is also OK with data.

My provider is Sosh by Orange, a french provider. Basic or custom APN, nothing happens.

Settings are :
APN = orange.acte
MMSC = http://mms.orange.fr
Proxy = 192.168.10.200
Port = 8080
User = orange
Password = orange

~/.cache/upstart/ content attached...

Thanks and scuse for my poor english

Revision history for this message
aizac (dimitri-aizac) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nuntium (Ubuntu):
status: New → Confirmed
Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

@aizac, thanks for the logs. However, I do not see any push notifications in the nuntium logs, which is weird. Could you try sending again an MMS to your Ubuntu phone, wait for 5 minutes and re-attach the files in ~/.cache/upstart? You can also reach me in freenode/#ubuntu-touch as abeato in case you are willing to debug this bug online.

Revision history for this message
aizac (dimitri-aizac) wrote :

Ok,

I do that:
notification on the "sender phone":
Type: MMs
A: +33xxxxxxxx (my phone number)
Envoyé: 1-09-2015, 18:40
Objet: TR:
Priorité: normale
Taille 186 Ko
Statut: envoyé

i wait for 5 minutes... Nothing received...

Here is my new ~/.cache/upstart files...

Scuse for my poor english and thank you very much!

Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

@aizac, thanks again, but unfortunately I don't see hints in those logs. Could you please also attach /var/log/syslog after doing the same steps of comment #3 (send a MMS to the phone and wait for a while)?

Revision history for this message
aizac (dimitri-aizac) wrote :

notification on the "sender phone":
Type: MMs
A: +33xxxxxxxx (my phone number)
Envoyé: 2-09-2015, 19:46
Objet: TR:
Priorité: normale
Taille 186 Ko
Statut: envoyé

i wait for 5 minutes... Nothing received...

Here is my new /var/log/syslog file...

thank you for your job

Revision history for this message
aizac (dimitri-aizac) wrote :

Line 16490 I found this log....

Sep 2 19:47:22 ubuntu-phablet ofonod[16726]: Got an 8-bit encoded message, however no valid src/address port, ignore...

Perhaps it can help you...

Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

@aizac, yes, that definitely points to an issue while ofono is decoding the message with the MMS push notification. So we are really near to find the bug, I just need some more information to reproduce this locally. Could you do from a PC connected to your phone (with dev mode activated):

$ adb shell
$ sudo su
# stop ofono
# OFONO_RIL_DEVICE=mtk OFONO_RIL_HEX_TRACE="" OFONO_RIL_TRACE="" ofonod -nd -P stktest,provision,sap,udev,dun,smart,hfp &> ofono.txt

* send a MMS to the phone and wait a bit to make sure we have received the notification (you could grep for UNSOL_RESPONSE_NEW_SMS in ofono.txt from another terminal to know when that happens)

Press ctrl^C and either attach ofono.txt to the bug or send it to me privately if you have privacy concerns. Then you can reboot the phone to restore it to a good state.

You can also follow these steps using the terminal app if you prefer that (doing "adb shell" does not apply in that case).

Hopefully with this info I will be able to hunt down the bug and I will not annoy you with more log requests :-)

Changed in ofono (Ubuntu):
status: New → Confirmed
Changed in ofono (Ubuntu):
assignee: nobody → Alfonso Sanchez-Beato (alfonsosanchezbeato)
Revision history for this message
Cédric Bellegarde (gnumdk) wrote :

Same operator here: Sosh
Same bug: Do not receive MMS

Here what i found in syslog:
Sep 3 22:05:14 ubuntu-phablet /03mmsproxy: Adding route for proxy for connection /208014803896755/context2 on ril_0 (ccmni0)
Sep 3 22:05:14 ubuntu-phablet /03mmsproxy: failed to add route: Settings[Proxy] for /ril_0/context2 missing

Here debug from ofono, i never receive UNSOL_RESPONSE_NEW_SMS...

Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

@gnumdk, probably you need to check your APN configuration and see if it is configured as specified by your operator. Go to "system settings" -> cellular -> operator -> APN.

But even with no routes you should have received the push notification which comes in SMS, so if it is not in the ofono log your operator has not tried to send you any MMS while you had the traces active.

Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

@gnumdk, also the error messages you see are a bit misleading: 03mmsproxy sets up routes only for combined contexts, which probably is not your case. So do not worry about that, please ignore my comment about checking your APN settings. But, again, to start downloading MMS the push notification has to be received and I do not see it in your traces.

Revision history for this message
Cédric Bellegarde (gnumdk) wrote :

Here another one ofono.txt

In fact, UNSOL_RESPONSE_NEW_SMS was in syslog, not in ofono.txt

Sep 4 14:25:32 ubuntu-phablet ofonod[7170]: drivers/rilmodem/sms.c:ril_sms_notify() req: 1003; data_len: 640
Sep 4 14:25:32 ubuntu-phablet ofonod[7170]: [0,UNSOL]< UNSOL_RESPONSE_NEW_SMS {07913386094000F04405850287F500F551904041526080860605040B84D5234306246170706C69636174696F6E2F766E642E7761702E6D6D732D6D65737361676500AF84B4818C829834416154355946636E732B65775548008D918918802B33333631343230313237352F545950453D504C4D4E0086818A808E02271088058103093A8083687474703A2F2F742E732F6154355946636E732B6577554800}
Sep 4 14:25:32 ubuntu-phablet ofonod[7170]: drivers/rilmodem/sms.c:ril_sms_notify() smsc_len is 8
Sep 4 14:25:32 ubuntu-phablet ofonod[7170]: src/sms.c:ofono_sms_deliver_notify() len 158 tpdu len 150
Sep 4 14:25:32 ubuntu-phablet ofonod[7170]: src/sms.c:handle_deliver()
Sep 4 14:25:32 ubuntu-phablet ofonod[7170]: src/sms.c:sms_dispatch()
Sep 4 14:25:32 ubuntu-phablet ofonod[7170]: src/sms.c:sms_dispatch() dst -1 src -1
Sep 4 14:25:32 ubuntu-phablet ofonod[7170]: Got an 8-bit encoded message, however no valid src/address port, ignore
Sep 4 14:25:32 ubuntu-phablet ofonod[7170]: [0,0116]> RIL_REQUEST_SMS_ACKNOWLEDGE (1,0)

Revision history for this message
Chondoud (nicolas-eubriet) wrote :

Hello

After OTA6, no change for me on my BQ Aquaris E4.5.
I can receive MMS whatever if Wifi is ON or OFF. BUt I can't If Data is not activated.
But I can't receive MMS whatever Wifi or Data is ON or OFF.

APN Setting:
APN = orange.acte
MMSC = http://mms.orange.fr
Proxy = 192.168.10.200
Port = 8080
User = orange (I also try without user)
Password = orange (I also try without pw)

In attachment the ~/.cache/upstart/

Sorry but I can't find the way to install "sergiusens/network-test-session"

Revision history for this message
Chondoud (nicolas-eubriet) wrote :

In addition here is the ofono.txt I just get

I hope that could help.

Don't hesitate to ask if you need more test

Thank you for you help

Revision history for this message
Chondoud (nicolas-eubriet) wrote :

Sorry I made a mistake in my first post:
I can SEND MMS whatever if Wifi is ON or OFF. BUt I can't If Data is not activated.

Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

@Chondoud, thanks for your logs. You can add a comment to bug #1445380 in case you would like to be able to send MMS even when data is off.

Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

https://github.com/rilmodem/ofono/pull/200

should fix the bug (or at least move things forward for sosh). I have attached a binary ofonod in case somebody wants to test the solution. To use it, download and follow this instructions for **MX4**:

adb push ofonod /tmp/
adb shell
$ chmod +x /tmp/ofonod
$ sudo su
# stop ofono
# OFONO_RIL_DEVICE=mtk /tmp/ofonod -nd -P stktest,provision,sap,udev,dun,smart,hfp &> ofono.txt

and check if MMS reception works.

Changed in nuntium (Ubuntu):
status: Confirmed → In Progress
summary: - Can't receive MMS on my MEIZU MX4:Provider SOSH by Orange in france
+ Can't receive MMS for Orange or SOSH by Orange in france
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

I tried ofonod from comment #17 and sending and receiving from/to Orange France works fine. For information the second operator in this test was Free Mobile.

Revision history for this message
aizac (dimitri-aizac) wrote :

The test is ok on MX4 with SOSH by orange!!!

Thank you very much for your work!

Revision history for this message
lenaic dupin (lenaic-dupin) wrote :

if it's OK on MX4, can we consider that it will be Ok on BQ E5 ?

Revision history for this message
Cyril Girard (darktux) wrote :

I tried also ofonod from comment #17 but doesn't work for me

My provider is Sosh by Orange with the same settings than comment #1

I tried with wifi ON : send OK - receive KO

Same result with data ON / wifi OFF

Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

@lenaic, yes, should be ok with BQ models too, as the bug is not device specific.

@Cyril, your log shows that you are receiving the push notification and cellular data is being activated, so it must be another bug. Could you attach ~/.cache/upstart/* files after another try using ofonod from comment #17 ?

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

For reference, I tried on krillin rc-proposed 117 with and without wifi and MMS worked both ways. The Orange SIM is on the second slot, and I switched data to this SIM in system-settings. Note that I replaced /usr/sbin/ofonod by the binary in comment 17 then restarted the phone to be as close as possible from a standard system and otherwise the second SIM was not brought up when I restarted ofonod.

Revision history for this message
Cyril Girard (darktux) wrote :

My upstart files after an another try to send and receive a MMS

Thank you so much to try a solution :)

Revision history for this message
Cyril Girard (darktux) wrote :

And my new ofono.txt

Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

@Cyril, I see that nuntium is receiving a MMS and all seems good there. Traces from nuntium.log:

2015/09/08 21:50:07 Push data
...
2015/09/08 21:50:08 Trying to set Active property to false for context on false /ril_0/context3

If nothing is received I can only think of some problem in messaging-app when trying to parse the message. Where did you send the MMS from, and with which attachments? Have you tried to send the MMS from different phones? If you can receive from some phone and not from others you could open a bug for messaging-app.

Revision history for this message
Cyril Girard (darktux) wrote :

I tried to send a mms from my phone to my phone. I tried with a photo in my gallery app.

I usually tested this with my android phones when I changed APN configuration and all was okay : MMS sent was received on the same phone.

I'll try with an another phone to see if I receive MMS on my MX4.

Thanks for your help.

Changed in ofono (Ubuntu):
status: Confirmed → Fix Committed
Changed in nuntium (Ubuntu):
status: In Progress → Invalid
Changed in canonical-devices-system-image:
assignee: nobody → John McAleely (john.mcaleely)
importance: Undecided → High
milestone: none → ww40-2015
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ofono - 1.17.bzr6904+15.10.20150928.1-0ubuntu1

---------------
ofono (1.17.bzr6904+15.10.20150928.1-0ubuntu1) wily; urgency=medium

  [ Alfonso Sanchez-Beato (email Canonical) ]
  * Update to upstream release 1.17
  * Do not assert when the radio is unavailable (LP: #1490991)
  * Fix crash when importing phonebook (LP: #1486004)
  * Check only destination port when receiving push (LP: #1490673)
  * Fix crash when retrying to close context (LP: #1492483)

  [ CI Train Bot ]
  * No-change rebuild.

 -- Alfonso Sanchez-Beato <email address hidden> Mon, 28 Sep 2015 09:27:18 +0000

Changed in ofono (Ubuntu):
status: Fix Committed → Fix Released
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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