Just guessing, but from response dump in logs you sent it looks like
MMSC gateway (or something you communicate to) is unable to parse your
submit request. If I were you I would check if I connect to correct
(MMS) APN, and if both mmsc-url and proxy settings are OK.

On Fri, Sep 10, 2010 at 10:00:35AM +0000, Dr Ox wrote:
> Hi list,
> Am trying to use Mbuni MM1 library to send MMS through GPRS using a GSM 
> modem.Connection to operator is done but still getting an error. This is a 
> part of the mmsbox logs:
> 2010-09-10 17:32:52 [20358] [15] INFO: mmsbox.c:1613 <dispatch_sendmms_recv> 
> [mmsbox] [n/a] MMSBox.mmssend: u=xxxxx, Queued [Accepted: 
> Mbuni-msg.1172.x2.58.0]
> 2010-09-10 17:32:56 [20358] [8] DEBUG: Queued to thread 3 for 
> /var/www/html/mms/mmsbox_outgoing/qf1172.2.x358.20, sendt=1284111172, 
> tnow=1284111176
> 2010-09-10 17:33:06 [20358] [5] INFO: mmsbox_mm1.c:659 <start_gprs> 
> [mmsbox-mm1] [n/a] waiting for connection: 0, pid=21677 cpid=0, ifexited=1, 
> exitstatus=5
> 2010-09-10 17:33:11 [20358] [5] INFO: mmsbox_mm1.c:379 <handle_mm1> 
> [mmsbox-mm1] [n/a] start_gprs returned PID: 21677
> 2010-09-10 17:33:11 [20358] [5] DEBUG: WSP: Mapping `text/plain', WSP 1.2 to 
> 0x0003.
> 2010-09-10 17:33:13 [20358] [5] INFO: mmsbox_mm1.c:589 <write_octstr_data> 
> [mmsbox-mm1] [n/a] write_data called with nmemn=401, size=1
> 2010-09-10 17:33:13 [20358] [5] WARNING: Error parsing application-header.
> 2010-09-10 17:33:13 [20358] [5] DEBUG: Octet string at 0x9e60348:
> 2010-09-10 17:33:13 [20358] [5] DEBUG:   len:  401
> 2010-09-10 17:33:13 [20358] [5] DEBUG:   size: 1024
> 2010-09-10 17:33:13 [20358] [5] DEBUG:   immutable: 0
> 2010-09-10 17:33:13 [20358] [5] DEBUG:   data: 3c 3f 78 6d 6c 20 76 65 72 73 
> 69 6f 6e 3d 27 31   <?xml version='1
> 2010-09-10 17:33:13 [20358] [5] DEBUG:   data: 2e 30 27 3f 3e 0a 3c 21 44 4f 
> 43 54 59 50 45 20   .0'?>.<!DOCTYPE 
> 2010-09-10 17:33:13 [20358] [5] DEBUG:   data: 68 74 6d 6c 20 50 55 42 4c 49 
> 43 20 27 2d 2f 2f   html PUBLIC '-//
> 2010-09-10 17:33:13 [20358] [5] DEBUG:   data: 57 41 50 46 4f 52 55 4d 2f 2f 
> 44 54 44 20 58 48   WAPFORUM//DTD XH
> 2010-09-10 17:33:13 [20358] [5] DEBUG:   data: 54 4d 4c 20 4d 6f 62 69 6c 65 
> 20 31 2e 30 2f 2f   TML Mobile 1.0//
> 2010-09-10 17:33:13 [20358] [5] DEBUG:   data: 45 4e 27 0a 27 68 74 74 70 3a 
> 2f 2f 77 77 77 2e   EN'.'http://www.
> 2010-09-10 17:33:13 [20358] [5] DEBUG:   data: 77 61 70 66 6f 72 75 6d 2e 6f 
> 72 67 2f 44 54 44   wapforum.org/DTD
> 2010-09-10 17:33:13 [20358] [5] DEBUG:   data: 2f 78 68 74 6d 6c 2d 6d 6f 62 
> 69 6c 65 31 30 2e   /xhtml-mobile10.
> 2010-09-10 17:33:13 [20358] [5] DEBUG:   data: 64 74 64 27 3e 0a 3c 68 74 6d 
> 6c 20 78 6d 6c 6e   dtd'>.<html xmln
> 2010-09-10 17:33:13 [20358] [5] DEBUG:   data: 73 3d 27 68 74 74 70 3a 2f 2f 
> 77 77 77 2e 77 33   s='http://www.w3
> 2010-09-10 17:33:13 [20358] [5] DEBUG:   data: 2e 6f 72 67 2f 31 39 39 39 2f 
> 78 68 74 6d 6c 27   .org/1999/xhtml'
> 2010-09-10 17:33:13 [20358] [5] DEBUG:   data: 3e 0a 3c 68 65 61 64 3e 0a 3c 
> 74 69 74 6c 65 3e   >.<head>.<title>
> 2010-09-10 17:33:13 [20358] [5] DEBUG:   data: 54 68 65 20 72 65 71 75 65 73 
> 74 20 66 61 69 6c   The request fail
> 2010-09-10 17:33:13 [20358] [5] DEBUG:   data: 65 64 3c 2f 74 69 74 6c 65 3e 
> 0a 3c 2f 68 65 61   ed</title>.</hea
> 2010-09-10 17:33:13 [20358] [5] DEBUG:   data: 64 3e 0a 3c 62 6f 64 79 3e 0a 
> 3c 70 3e 3c 62 69   d>.<body>.<p><bi
> 2010-09-10 17:33:13 [20358] [5] DEBUG:   data: 67 3e 54 68 65 20 72 65 71 75 
> 65 73 74 20 69 73   g>The request is
> 2010-09-10 17:33:13 [20358] [5] DEBUG:   data: 20 6e 6f 74 20 75 6e 64 65 72 
> 73 74 6f 6f 64 2e    not understood.
> 2010-09-10 17:33:13 [20358] [5] DEBUG:   data: 3c 2f 62 69 67 3e 3c 2f 70 3e 
> 0a 3c 70 3e 0a 3c   </big></p>.<p>.<
> 2010-09-10 17:33:13 [20358] [5] DEBUG:   data: 69 3e 54 65 63 68 6e 69 63 61 
> 6c 20 64 65 73 63   i>Technical desc
> 2010-09-10 17:33:13 [20358] [5] DEBUG:   data: 72 69 70 74 69 6f 6e 3a 3c 2f 
> 69 3e 3c 62 72 2f   ription:</i><br/
> 2010-09-10 17:33:13 [20358] [5] DEBUG:   data: 3e 34 30 30 20 42 61 64 20 52 
> 65 71 75 65 73 74   >400 Bad Request
> 2010-09-10 17:33:13 [20358] [5] DEBUG:   data: 20 2d 20 43 68 65 63 6b 20 79 
> 6f 75 72 20 73 70    - Check your sp
> 2010-09-10 17:33:13 [20358] [5] DEBUG:   data: 65 6c 6c 69 6e 67 20 66 6f 72 
> 20 74 68 65 20 72   elling for the r
> 2010-09-10 17:33:13 [20358] [5] DEBUG:   data: 65 71 75 65 73 74 65 64 20 55 
> 52 4c 2e 3c 2f 70   equested URL.</p
> 2010-09-10 17:33:13 [20358] [5] DEBUG:   data: 3e 0a 3c 2f 62 6f 64 79 3e 0a 
> 3c 2f 68 74 6d 6c   >.</body>.</html
> 2010-09-10 17:33:13 [20358] [5] DEBUG:   data: 3e                             
>                    >
> 2010-09-10 17:33:13 [20358] [5] DEBUG: Octet string dump ends.
> 2010-09-10 17:33:13 [20358] [5] ERROR: mmsbox_mm1.c:499 <handle_mm1> 
> [mmsbox-mm1] [n/a] Sending failed: (none), (none)!
> 2010-09-10 17:33:13 [20358] [5] INFO: mmsbox_mm1.c:524 <handle_mm1> 
> [mmsbox-mm1] [n/a] GPRS turned off returned: 0
> 2010-09-10 17:33:13 [20358] [22] INFO: mmsbox_mm1.c:345 <send_msg> 
> [mmsbox-mm1] [n/a] sent message, type=m-send-req, result=(none)
> 2010-09-10 17:33:13 [20358] [22] INFO: bearerbox.c:1519 <sendMsg> [MM7] [n/a] 
> Retry later MMSBox Outgoing Queue MMS Send: From +xxxxxxxx/TYPE=PLMN, to 
> +xxxxxxxxx/TYPE=PLMN, msgsize=110: msgid=[N/A]
> 2010-09-10 17:33:21 [20358] [5] INFO: mmsbox_mm1.c:539 <handle_mm1> 
> [mmsbox-mm1] [n/a] SMSC turned on
> 
> 
> The link i am trying to send is :
> lynx -dump 
> "http://xxx.xxx.xxx.xxx:10001/cgi-bin/sendmms?username=foo&password=bar&mmsc=modem&from=%2Bxxxxxxxxx/TYPE=PLMN&to=%2Bxxxxxxxxx/TYPE=PLMN&subject=Test&text=test+mbuni+MM1";
> Please have you ever got this kind of error?
> 
> 
>       

> _______________________________________________
> Users mailing list
> Users@mbuni.org
> http://lists.mbuni.org/mailman/listinfo/users

Attachment: pgpwyg9uuF5AN.pgp
Description: PGP signature

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

Reply via email to