When the encoding type is missing, then the message is in binary format. This should not cause any problems.
On Jul 09, 2008, at 08:12, pramod bodla wrote:

Hi
From the logs in MMSBOX
When MMSBOX recieved an mms (image) from Mbuni-MMSC the logs are showing all the fields like
content id:  00001.jpg
content location :00001.jpg
content type :image/jpeg
content-trnsfer encoding: base 64

while the MMSBOX sending to MMS Service (Http server) it is adding some additional headers like X-Mbuni-Message-ID,X-Mbuni-MMSC-ID,X-Mbuni-From,X-Mbuni-Subject,X- Mbuni-To etc.. and also content type,content location it is mentioning but its not mentioning content-transfer-encoding and the Image data recieved from MMSC (base 64 encoding )and sending to MMS-Service both are different(not mentioned any encoding type).

recieved from  MMSC :


2008-07-03 16:55:06 [2546] [3] DEBUG: data: 0d 0a 43 6f 6e 74 65 6e 74 2d 49 44 3a 20 3c 30 ..Content-ID: <0

2008-07-03 16:55:06 [2546] [3] DEBUG: data: 30 30 30 30 31 2e 6a 70 67 3e 0d 0a 43 6f 6e 74 00001.jpg>..Cont

2008-07-03 16:55:06 [2546] [3] DEBUG: data: 65 6e 74 2d 4c 6f 63 61 74 69 6f 6e 3a 20 30 30 ent-Location: 00

2008-07-03 16:55:06 [2546] [3] DEBUG: data: 30 30 30 31 2e 6a 70 67 0d 0a 43 6f 6e 74 65 6e 0001.jpg..Conten

2008-07-03 16:55:06 [2546] [3] DEBUG: data: 74 2d 54 79 70 65 3a 20 69 6d 61 67 65 2f 6a 70 t-Type: image/jp

2008-07-03 16:55:06 [2546] [3] DEBUG: data: 65 67 0d 0a 43 6f 6e 74 65 6e 74 2d 54 72 61 6e eg..Content-Tran

2008-07-03 16:55:06 [2546] [3] DEBUG: data: 73 66 65 72 2d 45 6e 63 6f 64 69 6e 67 3a 20 62 sfer-Encoding: b

2008-07-03 16:55:06 [2546] [3] DEBUG: data: 61 73 65 36 34 0d 0a 0d 0a 2f 39 6a 2f 34 41 41 ase64..../9j/4AA

2008-07-03 16:55:06 [2546] [3] DEBUG: data: 51 53 6b 5a 4a 52 67 41 42 41 51 45 41 53 41 42 QSkZJRgABAQEASAB

2008-07-03 16:55:06 [2546] [3] DEBUG: data: 49 41 41 44 2f 32 77 42 44 41 41 67 47 42 67 63 IAAD/2wBDAAgGBgc

2008-07-03 16:55:06 [2546] [3] DEBUG: data: 47 42 51 67 48 42 77 63 4a 43 51 67 4b 44 42 51 GBQgHBwcJCQgKDBQ

2008-07-03 16:55:06 [2546] [3] DEBUG: data: 4e 44 41 73 4c 44 42 6b 53 45 77 38 55 48 52 6f NDAsLDBkSEw8UHRo

Sending to MMS Service:


2008-07-03 16:55:09 [2546] [16] DEBUG: data: 62 6f 75 6e 64 61 72 79 5f 31 32 34 38 35 36 36 boundary_1248566

2008-07-03 16:55:09 [2546] [16] DEBUG: data: 39 38 39 5f 31 32 31 35 30 38 34 33 30 39 5f 51 989_1215084309_Q

2008-07-03 16:55:09 [2546] [16] DEBUG: data: 5f 67 5f 62 64 31 36 33 35 32 38 31 37 31 33 0d _g_bd1635281713.

2008-07-03 16:55:09 [2546] [16] DEBUG: data: 0a 43 6f 6e 74 65 6e 74 2d 44 69 73 70 6f 73 69 .Content-Disposi

2008-07-03 16:55:09 [2546] [16] DEBUG: data: 74 69 6f 6e 3a 20 66 6f 72 6d 2d 64 61 74 61 3b tion: form-data;

2008-07-03 16:55:09 [2546] [16] DEBUG: data: 20 6e 61 6d 65 3d 22 69 6d 61 67 65 73 5b 5d 22 name="images[]"

2008-07-03 16:55:09 [2546] [16] DEBUG: data: 3b 20 66 69 6c 65 6e 61 6d 65 3d 22 30 30 30 30 ; filename="0000

2008-07-03 16:55:09 [2546] [16] DEBUG: data: 30 31 2e 6a 70 67 22 0d 0a 43 6f 6e 74 65 6e 74 01.jpg"..Content

2008-07-03 16:55:09 [2546] [16] DEBUG: data: 2d 54 79 70 65 3a 20 69 6d 61 67 65 2f 6a 70 65 -Type: image/jpe

2008-07-03 16:55:09 [2546] [16] DEBUG: data: 67 0d 0a 0d 0a ff d8 ff e0 00 10 4a 46 49 46 00 g..........JFIF.

2008-07-03 16:55:09 [2546] [16] DEBUG: data: 01 01 01 00 48 00 48 00 00 ff db 00 43 00 08 06 ....H.H.....C...

2008-07-03 16:55:09 [2546] [16] DEBUG: data: 06 07 06 05 08 07 07 07 09 09 08 0a 0c 14 0d 0c ................

2008-07-03 16:55:09 [2546] [16] DEBUG: data: 0b 0b 0c 19 12 13 0f 14 1d 1a 1f 1e 1d 1a 1c 1c ................

2008-07-03 16:55:09 [2546] [16] DEBUG: data: 20 24 2e 27 20 22 2c 23 1c 1c 28 37 29 2c 30 31 $.' ",#..(7),01

2008-07-03 16:55:09 [2546] [16] DEBUG: data: 34 34 34 1f 27 39 3d 38 32 3c 2e 33 34 32 ff db 444.'9=82<.342..

2008-07-03 16:55:09 [2546] [16] DEBUG: data: 00 43 01 09 09 09 0c 0b 0c 18 0d 0d 18 32 21 1c .C...........2!.

2008-07-03 16:55:09 [2546] [16] DEBUG: data: 21 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 !222222222222222

2008-07-03 16:55:09 [2546] [16] DEBUG: data: 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 2222222222222222

2008-07-03 16:55:09 [2546] [16] DEBUG: data: 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 2222222222222222



What might be the problem. help needed...

regards
pramod
_______________________________________________
Users mailing list
[email protected]
http://lists.mbuni.org/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.mbuni.org/mailman/listinfo/users

Reply via email to