New bug found - sending MMS with smil file ( bug in hdr file)

New bug found - sending MMS with smil file ( bug in hdr file) SearchSearch
Author Message
Matthias Regensburger
Unregistered guest
Posted on Friday, November 14, 2003 - 10:03 pm:   

Hi Bryce,

I think I have found a new bug. I like to send MMS with the web interface. My MMS should have a smil file to show the MMS correct at the phone.
If I compose a MMS with your mmscomp utility I can send the MMS. I tryed to insert the smil file in the first "file field" and the the rest of the associated files in the following fields. I also tryed to insert a "hdr" file into the first field. I think, sending MMS over the http interface doesn't generate the correct "hdr" file. Here are two examples of the same MMS. The first was composed with mmscomp, the second should be send over the http interface and should be generated on-the-fly.

The examples are the last lines of the debug outprints of the connection to my provider.

22:32:55:737 WSPRequest: Packet Length is 108 bytes
22:32:55:737 WSPRequest: 16 80 04 04 20 22 61 70 70 6C 69 63 61 74 69 6F "applicatio
22:32:55:737 WSPRequest: 6E 2F 76 6E 64 2E 77 61 70 2E 6D 6D 73 2D 6D 65 n/vnd.wap.mms-me
22:32:55:737 WSPRequest: 73 73 61 67 65 00 8D C4 8C 81 98 30 36 32 46 34 ssage 062F4
22:32:55:737 WSPRequest: 41 45 41 00 8D 91 92 80 93 4D 65 73 73 61 67 65 AEA Message
22:32:55:737 WSPRequest: 20 61 63 63 65 70 74 65 64 00 8B 50 37 56 4B 42 accepted P7VKB
22:32:55:737 WSPRequest: 73 43 6F 41 55 45 41 41 45 34 4A 41 41 41 41 42 sCoAUEAAE4JAAAAB
22:32:55:737 WSPRequest: 51 41 41 44 65 38 41 41 41 41 41 00 QAADe8AAAAA
22:32:55:737 WSPRequest: Sending 3 byte packet to 195.182.114.52
22:32:55:737 WSPRequest: Packet Length is 3 bytes
22:32:55:737 WSPRequest: 18 00 04
22:32:55:757 WSPRequest: HTTP/1.0 200 Ok
Content-type: application/vnd.wap.mms-message
Content-length: 68

the second one:

22:43:10:063 WSPRequest: Debug: 195.182.114.52: requestOffset = 29400, requestLength = 30815
22:43:10:564 WSPRequest: Sending 19 byte segmented request to 195.182.114.52
22:43:10:564 WSPRequest: Packet Length is 19 bytes
22:43:10:564 WSPRequest: 2A 00 0E 16 00 41 6C 6C 65 73 20 4C 69 65 62 65 * Alles Liebe
22:43:10:564 WSPRequest: E2 80 A6
22:43:10:564 WSPRequest: Debug: 195.182.114.52: requestOffset = 30800, requestLength = 30815
22:43:19:587 WSPRequest: Packet Length is 8 bytes
22:43:19:587 WSPRequest: 16 80 0E 04 4C 02 8D 80 L
22:43:19:587 WSPRequest: Sending 3 byte packet to 195.182.114.52
22:43:19:587 WSPRequest: Packet Length is 3 bytes
22:43:19:587 WSPRequest: 18 00 0E
22:43:19:587 WSPRequest: HTTP/1.0 412 Precondition Failed
Content-type: multipart/form-data
Content-length: 0

So I think, the hdr file would be incorrect at the second cause.

Here is my hdr file that works if I use it with mmscomp.

Message-type: m-retrieve-conf
Transaction-id: AdURhOHFAbNY5aOx8
From: +49176XXXXXXX/TYPE=PLMN
Message-class: Personal
To: +49177XXXXXXXX/TYPE=PLMN
Content-type: application/vnd.wap.multipart.related; type=application/smil; start=<s.smil>

Hope you can help

Greetings
Matthias Regensburger
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1160
Registered: 10-2002
Posted on Monday, November 17, 2003 - 06:48 pm:   

Matthias,

That is bizarre. An error code of "412 Precondition failed" doesn't make any sense in this context.

I'd like more information about this. Is it possible that the problem could be size related, or are both the sucessful and failed sends about the same size?

I'd like to see the complete log, and see if that offers any clue about the formatting differences (email to nowsms@now.co.uk).

Also, try sending other MMS message content via the web interface ... is this problem consistent with all messages sent via the web interface? Does it make a difference if a message does or does not include SMIL content?

-bn