Hi:
I'm trying to send a MMS to Nokias MMSC v3.0, but it answers me "Message
Corrupt".
When encoding an MMS to binary, I get the "Content-ID" tag translated to:
0x83 0xc0 + <ID in ASCII>:
2005-05-26 20:19:44 [368] [1] DEBUG: data: 3e 00 01 07 0b 83 c0 3c 74 31
3e 00 48 6f 6c 61 >......<t1>.Hola
I'm not sure, but compared to the code generated with another encoder
(NowSMS), it adds an quote character ( " ) after the 0x83 0xc0 bytes, like
this:
... 0x83 0xc0 " <ID in ASCII>
Could it be a bug?
I came to this idea becasue when sending the message to Nokia's MMSC
Emulator (NMSS SDK 1.5), the Content-Id tag isn't parsed correctly.
It appears as "t1>" and not as "<t1>". This is the reason I'm supposing that
Mbuni or Kannel is not encoding correctly the message.
Here is the entire data dump:
2005-05-26 20:19:44 [368] [1] DEBUG: data: 50 4f 53 54 20 2f 20 48 54 54
50 2f 31 2e 31 0d POST / HTTP/1.1.
2005-05-26 20:19:44 [368] [1] DEBUG: data: 0a 48 6f 73 74 3a 20 31 39 32
2e 31 36 38 2e 30 .Host: 192.168.0
2005-05-26 20:19:44 [368] [1] DEBUG: data: 2e 33 3a 39 39 39 38 0d 0a 43
6f 6e 74 65 6e 74 .3:9998..Content
2005-05-26 20:19:44 [368] [1] DEBUG: data: 2d 54 79 70 65 3a 20 61 70 70
6c 69 63 61 74 69 -Type: applicati
2005-05-26 20:19:44 [368] [1] DEBUG: data: 6f 6e 2f 76 6e 64 2e 77 61 70
2e 6d 6d 73 2d 6d on/vnd.wap.mms-m
2005-05-26 20:19:44 [368] [1] DEBUG: data: 65 73 73 61 67 65 0d 0a 41 75
74 68 6f 72 69 7a essage..Authoriz
2005-05-26 20:19:44 [368] [1] DEBUG: data: 61 74 69 6f 6e 3a 20 42 61 73
69 63 20 4f 67 3d ation: Basic Og=
2005-05-26 20:19:44 [368] [1] DEBUG: data: 3d 0d 0a 43 6f 6e 74 65 6e 74
2d 4c 65 6e 67 74 =..Content-Lengt
2005-05-26 20:19:44 [368] [1] DEBUG: data: 68 3a 20 31 34 31 0d 0a 0d 0a
h: 141....
--- Message ---
8c 80 98 30 31 32
...0123456789.
2005-05-26 20:19:44 [368] [1] DEBUG: data: 33 34 35 36 37 38 39 00 8d 90
89 16 80 6b 72 69 .....kri
2005-05-26 20:19:44 [368] [1] DEBUG: data: 70 70 65 72 40 69 6d 61 74 72
6f 6e 69 78 2e 63 [EMAIL PROTECTED]
2005-05-26 20:19:44 [368] [1] DEBUG: data: 6c 00 97 30 39 34 37 35 30 33
34 31 2f 54 59 50 l..094750341/TYP
2005-05-26 20:19:44 [368] [1] DEBUG: data: 45 3d 50 4c 4d 4e 00 96 48 6f
6c 61 00 85 04 42 E=PLMN..Hola...B
2005-05-26 20:19:44 [368] [1] DEBUG: data: 66 66 20 4d 65 73 73 61 67 65
49 44 00 30 30 30 ff MessageID.000
2005-05-26 20:19:44 [368] [1] DEBUG: data: 30 30 00 84 1d b3 89 22 61 70
70 6c 69 63 61 74 00....."applicat
2005-05-26 20:19:44 [368] [1] DEBUG: data: 69 6f 6e 2f 73 6d 69 6c 00 8a
22 3c 30 30 30 30 ion/smil.."<0000
2005-05-26 20:19:44 [368] [1] DEBUG: data: 3e 00 01 07 0b 83 c0 3c 74 31
3e 00 48 6f 6c 61 >......<t1>.Hola
2005-05-26 20:19:44 [368] [1] DEBUG: data: 20 6d 75 6e 64 6f 21
mundo!
_______________________________________________
Devel mailing list
[email protected]
http://mbuni.org/mailman/listinfo/devel_mbuni.org