Sorry Emmanuel, I didn't have much time to look into the config, except for
a fast look. But I did do the same command that you did 

 

Command :

 lynx -dump "http://localhost:myport/?username=myuser
<http://localhost:myport/?username=myuser&password=myport&to=myphone/TYPE=PL
MN&subject=Test&text=MMS>
&password=myport&to=myphone/TYPE=PLMN&subject=Test&text=MMS"



I got a mms message on my phone and got this outcome from mmsbox.log.

 

2010-03-18 15:20:55 [9735] [3] DEBUG: HTTP: Creating HTTPClient for
`127.0.0.1'.

2010-03-18 15:20:55 [9735] [3] DEBUG: HTTP: Created HTTPClient area
0x81732e8.

2010-03-18 15:20:55 [9735] [13] DEBUG: WSP: Mapping `text/plain', WSP 1.2 to
0x0003.

2010-03-18 15:20:55 [9735] [13] INFO: mmsbox.c:1355 <make_and_queue_msg>
[mmsbox] [n/a] MMSBox: Queued message from service [sendmms-user], [transid
[Mbuni-msg.5655.x2.35.91]: qf5655.10.x735.44

2010-03-18 15:20:55 [9735] [13] INFO: System error 2: No such file or
directory

2010-03-18 15:20:55 [9735] [13] DEBUG: HTTP: Destroying HTTPClient area
0x81732e8.

2010-03-18 15:20:55 [9735] [13] DEBUG: HTTP: Destroying HTTPClient for
`127.0.0.1'.

2010-03-18 15:20:55 [9735] [13] INFO: mmsbox.c:1602 <dispatch_sendmms_recv>
[mmsbox] [n/a] MMSBox.mmssend: u=XXX, Queued [Accepted:
Mbuni-msg.5655.x2.35.91]

2010-03-18 15:20:56 [9735] [7] DEBUG: Queued to thread 1 for
/var/www/mmsbox_outgoing/qf5655.10.x735.44, sendt=1268925655,
tnow=1268925656

2010-03-18 15:21:06 [9735] [5] INFO: mmsbox_mm1.c:463 <handle_mm1>
[mmsbox-mm1] [n/a] start_gprs returned PID: 13830

2010-03-18 15:21:06 [9735] [5] DEBUG: WSP: Mapping `text/plain', WSP 1.2 to
0x0003.

2010-03-18 15:21:08 [9735] [5] INFO: mmsbox_mm1.c:690 <write_octstr_data>
[mmsbox-mm1] [n/a] write_data called with nmemn=44, size=1

2010-03-18 15:21:08 [9735] [5] DEBUG: Octet string at 0x81732a0:

2010-03-18 15:21:08 [9735] [5] DEBUG:   len:  0

2010-03-18 15:21:08 [9735] [5] DEBUG:   size: 1024

2010-03-18 15:21:08 [9735] [5] DEBUG:   immutable: 0

2010-03-18 15:21:08 [9735] [5] DEBUG: Octet string dump ends.

2010-03-18 15:21:08 [9735] [5] DEBUG: Dumping HTTP headers:

2010-03-18 15:21:08 [9735] [5] DEBUG:  Octet string at 0x8173660:

2010-03-18 15:21:08 [9735] [5] DEBUG:    len:  31

2010-03-18 15:21:08 [9735] [5] DEBUG:    size: 1024

2010-03-18 15:21:08 [9735] [5] DEBUG:    immutable: 0

2010-03-18 15:21:08 [9735] [5] DEBUG:    data: 58 2d 4d 6d 73 2d 4d 65 73 73
61 67 65 2d 54 79   X-Mms-Message-Ty

2010-03-18 15:21:08 [9735] [5] DEBUG:    data: 70 65 3a 20 6d 2d 73 65 6e 64
2d 63 6f 6e 66      pe: m-send-conf

2010-03-18 15:21:08 [9735] [5] DEBUG:  Octet string dump ends.

2010-03-18 15:21:08 [9735] [5] DEBUG:  Octet string at 0x8172650:

2010-03-18 15:21:08 [9735] [5] DEBUG:    len:  27

2010-03-18 15:21:08 [9735] [5] DEBUG:    size: 1024

2010-03-18 15:21:08 [9735] [5] DEBUG:    immutable: 0

2010-03-18 15:21:08 [9735] [5] DEBUG:    data: 58 2d 4d 6d 73 2d 54 72 61 6e
73 61 63 74 69 6f   X-Mms-Transactio

2010-03-18 15:21:08 [9735] [5] DEBUG:    data: 6e 2d 49 64 3a 20 30 30 30 30
31                  n-Id: 00001

2010-03-18 15:21:08 [9735] [5] DEBUG:  Octet string dump ends.

2010-03-18 15:21:08 [9735] [5] DEBUG:  Octet string at 0x8170ec8:

2010-03-18 15:21:08 [9735] [5] DEBUG:    len:  22

2010-03-18 15:21:08 [9735] [5] DEBUG:    size: 1024

2010-03-18 15:21:08 [9735] [5] DEBUG:    immutable: 0

2010-03-18 15:21:08 [9735] [5] DEBUG:    data: 58 2d 4d 6d 73 2d 4d 4d 53 2d
56 65 72 73 69 6f   X-Mms-MMS-Versio

2010-03-18 15:21:08 [9735] [5] DEBUG:    data: 6e 3a 20 31 2e 30
n: 1.0

2010-03-18 15:21:08 [9735] [5] DEBUG:  Octet string dump ends.

2010-03-18 15:21:08 [9735] [5] DEBUG:  Octet string at 0x8173228:

2010-03-18 15:21:08 [9735] [5] DEBUG:    len:  25

2010-03-18 15:21:08 [9735] [5] DEBUG:    size: 1024

2010-03-18 15:21:08 [9735] [5] DEBUG:    immutable: 0

2010-03-18 15:21:08 [9735] [5] DEBUG:    data: 58 2d 4d 6d 73 2d 52 65 73 70
6f 6e 73 65 2d 53   X-Mms-Response-S

2010-03-18 15:21:08 [9735] [5] DEBUG:    data: 74 61 74 75 73 3a 20 4f 6b
tatus: Ok

2010-03-18 15:21:08 [9735] [5] DEBUG:  Octet string dump ends.

2010-03-18 15:21:08 [9735] [5] DEBUG:  Octet string at 0x81737b8:

2010-03-18 15:21:08 [9735] [5] DEBUG:    len:  41

2010-03-18 15:21:08 [9735] [5] DEBUG:    size: 1024

2010-03-18 15:21:08 [9735] [5] DEBUG:    immutable: 0

2010-03-18 15:21:08 [9735] [5] DEBUG:    data: 4d 65 73 73 61 67 65 2d 49 44
3a 20 67 36 78 70   Message-ID: g6xp

2010-03-18 15:21:08 [9735] [5] DEBUG:    data: 37 72 67 39 34 75 64 6c 74 31
35 32 40 77 2e 6d   7rg94udlt...@w.m

2010-03-18 15:21:08 [9735] [5] DEBUG:    data: 6d 73 2e 74 6d 6e 2e 70 74
ms.tmn.pt

2010-03-18 15:21:08 [9735] [5] DEBUG:  Octet string dump ends.

2010-03-18 15:21:08 [9735] [5] DEBUG: End of dump.

2010-03-18 15:21:08 [9735] [5] DEBUG: Dumping MMS message body (not
multipart) [0 parts] -->

2010-03-18 15:21:08 [9735] [12] INFO: mmsbox_mm1.c:429 <send_msg>
[mmsbox-mm1] [n/a] sent message, type=m-send-req, result=(none)

2010-03-18 15:21:08 [9735] [5] INFO: mmsbox_mm1.c:625 <handle_mm1>
[mmsbox-mm1] [n/a] GPRS turned off returned: 0

2010-03-18 15:21:08 [9735] [12] INFO: bearerbox.c:1519 <sendMsg> [MM7] [n/a]
Sent MMSBox Outgoing Queue MMS Send: From 100, to 35196MYNUNBER/TYPE=PLMN,
msgsize=96: msgid=[g6xp7rg94udlt...@w.mms.tmn.pt]

2010-03-18 15:21:12 [9735] [0] DEBUG: Queued to thread 3 for
/var/www/mmsbox_incoming/i/ir/qf5668.11.x735.28, sendt=0, tnow=1268925672

2010-03-18 15:21:12 [9735] [17] INFO: mmsbox.c:646 <mmsbox_service_dispatch>
[MM7] [modem] MMSBox: Skipped delivery-report URL call for
[g6xp7rg94udlt...@w.mms.tmn.pt]. Empty URL, from [100/TYPE=PLMN]

2010-03-18 15:21:15 [9735] [5] INFO: mmsbox_mm1.c:640 <handle_mm1>
[mmsbox-mm1] [n/a] SMSC turned on

 

 

You can see that "INFO: System error 2: No such file or directory" is not a
problem. Because this mms was sent to my phone successfully.

Since your test diverts from  mine just before the gprs connection being
made I would suggest that you test the connection. 

In command line execute pppd call gprs and check the file /var/log/messages

It should give  something like this

 

 

Mar 18 15:21:02 host chat[13832]: abort on (BUSY)

Mar 18 15:21:02 host chat[13832]: abort on (NO CARRIER)

Mar 18 15:21:02 host chat[13832]: abort on (ERROR)

Mar 18 15:21:02 host chat[13832]: send (AT^M)

Mar 18 15:21:02 host chat[13832]: expect (OK)

Mar 18 15:21:02 host chat[13832]: ^M

Mar 18 15:21:02 host chat[13832]: OK

Mar 18 15:21:02 host chat[13832]:  -- got it

Mar 18 15:21:02 host chat[13832]: send (AT+CGDCONT=1,"IP","mmsc.tmn.pt"^M)

Mar 18 15:21:02 host chat[13832]: expect (OK)

Mar 18 15:21:02 host chat[13832]: ^M

Mar 18 15:21:02 host chat[13832]: OK

Mar 18 15:21:02 host chat[13832]:  -- got it

Mar 18 15:21:02 host chat[13832]: send (ATDT*99***1#^M)

Mar 18 15:21:02 host pppd[13830]: Serial connection established.

Mar 18 15:21:02 host pppd[13830]: Using interface ppp0

Mar 18 15:21:02 host pppd[13830]: Connect: ppp0 <--> /dev/ttyS0

Mar 18 15:21:03 host pppd[13830]: CHAP authentication succeeded

Mar 18 15:21:03 host pppd[13830]: CHAP authentication succeeded

Mar 18 15:21:04 host pppd[13830]: local  IP address 10.11.128.17

Mar 18 15:21:04 host pppd[13830]: remote IP address 192.168.254.254

 

 

If you don't get something like this then looking at configuration files
won't do any good looking at the conf files.

Hope that this may help.

 

Nuno

 

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

Reply via email to