[FIX] fMMS - MMS on the N900, cannot receive
1 Attachment(s)
Here is the fix (I desperately wanted) for my environment.
The fix is so easy, but do not ask me how much time I spent then and now debugging, understanding/changing/learning code, trying to understand MMS protocol, ... I am sure frals would have solved within a few minutes (less than hour).:rolleyes: Nevertheless here we go: get root open /opt/fmms/mms/mms_pdu.py with leafpad/nano/vi and add following line Code:
0x19 : ('WTF', 'BooleanValue'), Code:
sed -e s/" 0x18 : ('Transaction-Id', 'TextString'),"/" |
Re: [FIX] fMMS - MMS on the N900, cannot receive
What about gaining maintainership and uploading a fixed version in extras?
|
Re: [FIX] fMMS - MMS on the N900, cannot receive
Quote:
But please do not expect new features :D One question: you wrote 'extras'? Did you mean 'extras-devel', sure! Or 'extras-testing, also understood! But 'extras'? |
Re: [FIX] fMMS - MMS on the N900, cannot receive
Quote:
I don't see why not. After all the whole point of -devel and -testing is to QA before extras. |
Re: [FIX] fMMS - MMS on the N900, cannot receive
Quote:
|
Re: [FIX] fMMS - MMS on the N900, cannot receive
Done.
Just sent it to extras-devel. (as I used the devel sources) Please check it to be the 'same' package (used py2deb). BUT after one week there is not a single feedback at all :( Not that I expected hundreds/thousands of hoorays, but a bit more enthusiasm. I really really do not use this MMS service myself or did/do receive a lot of MMS, but to have a device not capable of receiving those one/two messages a year really made me angry (hence my efforts)! |
Re: [FIX] fMMS - MMS on the N900, cannot receive
Code:
for(int i=0; i<=9999; i++) { Edit: Well... I just looked at my mms list nad saw some small glitches... There are some messages which seem to be incorrectly decoded somehow. There is html-like code in the end. Let's say the message should end with "haha :D" and instead there's "haha :D<smil><head><layout>[...and so on...]" (smil.xml content?). Is it a known issue (maybe even connected to this fix?) or should I debug it further and try to fix it myself? ;) It's not really annoying... And seems to be very rare and random - I have only 3 or 4 messages with it (one with non-alphanumeric characters, one with letters which are present only in my country's national charset and one with only english letters and spaces), while my complete mms list has >=100 items. |
Re: [FIX] fMMS - MMS on the N900, cannot receive
Okay, as I got now my 10000 hoorays I open up the Pandora box ;)
Yep, for some it was working fine, for others not! Up to now no one (I know of) had a clue why. Even 'rumors' about IMEI databases, blocking by operator on purpose, ... But it is all due to my operator(s) decided to send MMS according to specification 1.1 (fmms sends and receives only 1.0). So the header parsing went berserk and screwed everything. This fix only adds one specific 1.1 header (X-MMS-Retrieve-Status), but that was sufficient for me (there are of course more and even spec.1.2). So what I would like to get is some feedback from users who suffered non-ability-of-receiving. [i.e. for you it does not matter atm and NO it will NOT break anything] -- edit to misiak's edit Yes that is the layout code of the message. And should not be in the message text itself. You are lucky that the text of message (or was it subject?) seems to be in front of smil info. Other way round message would have been unreadable possibly. And I assume that some length has not been read correct or text was not-Null terminated (which is only normal at the end) or some special characters (unicode?) screwed it up. But as you say only a few are borked. And no I am sure my fix has nothing to do with it. |
Re: [FIX] fMMS - MMS on the N900, cannot receive
Quote:
Edit: and, following page 42 of http://www.openmms.org/download/OMA-WAP-MMS.pdf , add Retrieve-Text, Read-Status, Reply-Charging and Reply-Charging-Deadline too? (although I'm not sure which version of the specification this pdf describes...) Edit2: oh, there are also: Reply-Charging-ID, Reply-Charging-Size, Previously-Sent-By and Previously-Sent-Date fields on next page, I missed them earlier... |
Re: [FIX] fMMS - MMS on the N900, cannot receive
Yep, exactly.
Please see the deb coming to extras-devel! :D (Except the others ;) I am a lazy bastard and for me it is sufficient, hence the desired feedbacks to know I need to invest more work.) |
All times are GMT. The time now is 20:54. |
vBulletin® Version 3.8.8