hi,

 From the log, the problem appears to be different. You are trying to  
send a message out to the Nokia MMSC, and it responds with a 400  
error, with a message validation error. I'd suggest you switch to CVS  
and see if this problem (as for Davor) goes away.


On May 31, 2006, at 05:57, Pedro Miguel Duque wrote:

> I'm trying to connect mbuni as a vasgw to a Nokia MMSC using EAIF.
>
> The MMSC is not using authentication, so this is my mbuni.conf:
>
> # MAIN
> group = core
> log-file = /webaplic/mbuni-1.1.0/log/vasgw_mmsgw.log
> log-level = 0
> access-log = /webaplic/mbuni-1.1.0/log/vasgw_access.log
> #
> # MBUNI
> group = mbuni
> name = MMSGW-TESTE
> storage-directory = /webaplic/mbuni-1.1.0/data
> max-send-threads = 5
> sendmms-port = 13501
> queue-run-interval = 1
> #
> # MMSC
> group = mmsc
> id = MMSC-TESTE
> type = eaif
> mmsc-url = http://x.x.x.x:50201
> incoming-port = 13500
> incoming-username =
> incoming-password =
> #
> # SEND-MMS-USER
> group = send-mms-user
> username = mbuni
> password = mbuni
> #
> # MMS-SERVICE
> group = mms-service
> name = service-teste
> keyword = teste
> catch-all = true
> text = Test MMS in text/plain
>
> When I call mmsbox with a wget:
> wget
> "http://localhost:13501? 
> username=mbuni&password=mbuni&from=940&to=552188
> 012053&subject=test&text=test"
>
> I get this in the log file:
> 2006-05-30 19:10:09 [3385] [17] DEBUG: Parsing URL
> `http://10.125.34.10:50201':
> 2006-05-30 19:10:09 [3385] [17] DEBUG:   Scheme: http://
> 2006-05-30 19:10:09 [3385] [17] DEBUG:   Host: 10.125.34.10
> 2006-05-30 19:10:09 [3385] [17] DEBUG:   Port: 50201
> 2006-05-30 19:10:09 [3385] [17] DEBUG:   Username: (null)
> 2006-05-30 19:10:09 [3385] [17] DEBUG:   Password: (null)
> 2006-05-30 19:10:09 [3385] [17] DEBUG:   Path: /
> 2006-05-30 19:10:09 [3385] [17] DEBUG:   Query: (null)
> 2006-05-30 19:10:09 [3385] [17] DEBUG:   Fragment: (null)
> 2006-05-30 19:10:09 [3385] [17] DEBUG: HTTP: Opening connection to
> `10.125.34.10:50201' (fd=41).
> 2006-05-30 19:10:09 [3385] [17] DEBUG: Socket connecting
> 2006-05-30 19:10:09 [3385] [16] DEBUG: Get info about connecting  
> socket
> 2006-05-30 19:10:09 [3385] [16] DEBUG: HTTP: Sending request:
> 2006-05-30 19:10:09 [3385] [16] DEBUG: Octet string at 0x90f25f8:
> 2006-05-30 19:10:09 [3385] [16] DEBUG:   len:  346
> 2006-05-30 19:10:09 [3385] [16] DEBUG:   size: 1024
> 2006-05-30 19:10:09 [3385] [16] DEBUG:   immutable: 0
> 2006-05-30 19:10:09 [3385] [16] DEBUG:   data: 50 4f 53 54 20 2f 20 48
> 54 54 50 2f 31 2e 31 0d   POST / HTTP/1.1.
> 2006-05-30 19:10:09 [3385] [16] DEBUG:   data: 0a 48 6f 73 74 3a 20 31
> 30 2e 31 32 35 2e 33 34   .Host: 10.125.34
> 2006-05-30 19:10:09 [3385] [16] DEBUG:   data: 2e 31 30 3a 35 30 32 30
> 31 0d 0a 58 2d 4e 4f 4b   .10:50201..X-NOK
> 2006-05-30 19:10:09 [3385] [16] DEBUG:   data: 49 41 2d 4d 4d 53 43 2d
> 54 6f 3a 20 31 32 33 34   IA-MMSC-To: 1234
> 2006-05-30 19:10:09 [3385] [16] DEBUG:   data: 35 2f 54 59 50 45 3d 50
> 4c 4d 4e 0d 0a 58 2d 4e   5/TYPE=PLMN..X-N
> 2006-05-30 19:10:09 [3385] [16] DEBUG:   data: 4f 4b 49 41 2d 4d 4d 53
> 43 2d 46 72 6f 6d 3a 20   OKIA-MMSC-From:
> 2006-05-30 19:10:09 [3385] [16] DEBUG:   data: 39 34 30 2f 54 59 50 45
> 3d 50 4c 4d 4e 0d 0a 58   940/TYPE=PLMN..X
> 2006-05-30 19:10:09 [3385] [16] DEBUG:   data: 2d 4e 4f 4b 49 41 2d 4d
> 4d 53 43 2d 56 65 72 73   -NOKIA-MMSC-Vers
> 2006-05-30 19:10:09 [3385] [16] DEBUG:   data: 69 6f 6e 3a 20 33 2e 30
> 0d 0a 58 2d 4e 4f 4b 49   ion: 3.0..X-NOKI
> 2006-05-30 19:10:09 [3385] [16] DEBUG:   data: 41 2d 4d 4d 53 43 2d 4d
> 65 73 73 61 67 65 2d 54   A-MMSC-Message-T
> 2006-05-30 19:10:09 [3385] [16] DEBUG:   data: 79 70 65 3a 20 4d 75 6c
> 74 69 4d 65 64 69 61 4d   ype: MultiMediaM
> 2006-05-30 19:10:09 [3385] [16] DEBUG:   data: 65 73 73 61 67 65 0d 0a
> 43 6f 6e 74 65 6e 74 2d   essage..Content-
> 2006-05-30 19:10:09 [3385] [16] DEBUG:   data: 54 79 70 65 3a 20 61 70
> 70 6c 69 63 61 74 69 6f   Type: applicatio
> 2006-05-30 19:10:09 [3385] [16] DEBUG:   data: 6e 2f 76 6e 64 2e 77 61
> 70 2e 6d 6d 73 2d 6d 65   n/vnd.wap.mms-me
> 2006-05-30 19:10:09 [3385] [16] DEBUG:   data: 73 73 61 67 65 0d 0a 43
> 6f 6e 74 65 6e 74 2d 4c   ssage..Content-L
> 2006-05-30 19:10:09 [3385] [16] DEBUG:   data: 65 6e 67 74 68 3a 20 39
> 33 0d 0a 0d 0a 8c 80 8d   ength: 93.......
> 2006-05-30 19:10:09 [3385] [16] DEBUG:   data: 90 96 74 65 73 74 00 85
> 04 44 7c c2 c0 8b 74 2d   ..test...D|...t-
> 2006-05-30 19:10:09 [3385] [16] DEBUG:   data: 64 38 2d 71 66 31 31 34
> 39 30 32 37 30 30 38 2e   d8-qf1149027008.
> 2006-05-30 19:10:09 [3385] [16] DEBUG:   data: 32 2e 78 33 38 35 2e 31
> 30 33 40 37 62 32 66 38   [EMAIL PROTECTED]
> 2006-05-30 19:10:09 [3385] [16] DEBUG:   data: 00 89 0f 80 39 34 30 2f
> 54 59 50 45 3d 50 4c 4d   ....940/TYPE=PLM
> 2006-05-30 19:10:09 [3385] [16] DEBUG:   data: 4e 00 97 31 32 33 34 35
> 2f 54 59 50 45 3d 50 4c   N..12345/TYPE=PL
> 2006-05-30 19:10:09 [3385] [16] DEBUG:   data: 4d 4e 00 84 83 54 45 53
> 54 45                     MN...TESTE
> 2006-05-30 19:10:09 [3385] [16] DEBUG: Octet string dump ends.
> 2006-05-30 19:10:09 [3385] [16] DEBUG: HTTP: Status line: <HTTP/1.1  
> 400
> Message Validation Failed>
> 2006-05-30 19:10:09 [3385] [16] DEBUG: HTTP: Received response:
> 2006-05-30 19:10:09 [3385] [16] DEBUG: Octet string at 0x90f25f8:
> 2006-05-30 19:10:09 [3385] [16] DEBUG:   len:  48
> 2006-05-30 19:10:09 [3385] [16] DEBUG:   size: 1024
> 2006-05-30 19:10:09 [3385] [16] DEBUG:   immutable: 0
> 2006-05-30 19:10:09 [3385] [16] DEBUG:   data: 78 2d 6e 6f 6b 69 61 2d
> 6d 6d 73 63 2d 76 65 72   x-nokia-mmsc-ver
> 2006-05-30 19:10:09 [3385] [16] DEBUG:   data: 73 69 6f 6e 3a 20 33 2e
> 30 0d 0a 43 6f 6e 74 65   sion: 3.0..Conte
> 2006-05-30 19:10:09 [3385] [16] DEBUG:   data: 6e 74 2d 4c 65 6e 67 74
> 68 3a 20 30 0d 0a 0d 0a   nt-Length: 0....
> 2006-05-30 19:10:09 [3385] [16] DEBUG: Octet string dump ends.
> 2006-05-30 19:10:09 [3385] [12] INFO: Sent to MMC[MMSC-TESTE],
> code=[400], resp=(none) msgid [(none)]
> 2006-05-30 19:10:09 [3385] [12] INFO: Retry later MMSBox Outgoing  
> Queue
> MMS Send: From 940/TYPE=PLMN, to 12345/TYPE=PLMN, msg
> size=93: err=Failed to contact MMC[url=http://10.125.34.10:50201] =>
> HTTP returned status = 400 !
>
> Is this the same problem as stated by Davor Spasoski on March?
>
> Thanks,
> Pedro Duque
>
>
> _______________________________________________
> Users mailing list
> Users@mbuni.org
> http://mbuni.org/mailman/listinfo/users_mbuni.org


_______________________________________________
Users mailing list
Users@mbuni.org
http://mbuni.org/mailman/listinfo/users_mbuni.org

Reply via email to