Hi,

 

I'm using the latest version of mbuni from CVS and trying to use the mmsfromeamil utility. I encounter a couple of problems:

 

1.       The MMS is sent to kannel (with the required patches) but not always received by the phone. The only mms I could receive is one with text only (see attached msg1.eml).
The mms for this email is received only the first time I try to send it. Subsequent attempts to send the same email fail until I restart the mmsproxy server.
Other emails (with pictures) are never received (see attached msg2.eml).
Here is the tcpflow to the kannel server (replace host username, password, phonenumber etc.):

 

Successful:

GET /cgi-bin/sendsms?username=<username>&password=<password>&text=%02%06%03%BE%AF%84%8C%82%98<host> %40qf158.2.x284.75%00%8D%90%8A%80%8E%02%12%7B%88%05%81%03%05~%3F%83http%3A%2F%2F<host> %2Fqf158.2.x284.75%402%2Fwx32%00&to=%2B<phone_number>&udh=%06%05%04%0B%84%23%F0 HTTP/1.1

Host: <kannel_host>:13013

Connection: close

User-Agent: Mbuni/1.1.0

 

HTTP/1.0 202 Accepted

Server: Kannel/1.4.0

Content-Length: 5

Content-type: text/html

Pragma: no-cache

Cache-Control: no-cache

 

Sent.

Unsuccessful:
GET /cgi-bin/sendsms?username=<username>&password=<password>&text=%03%06%03%BE%AF%84%8C%82%98<host>%40v-99-qf224.3.x285.67%00%8D%90%8A%80%8E%02%11%BA%88%05%81%03%05~%3F%83http%3A%2F%2F<host>%2Fv-99-qf224.3.x285.67%402%2Fwx85%00&to=%2B<phone_number>&udh=%06%05%04%0B%84%23%F0 HTTP/1.1

Host: <kannel_host>:13013

Connection: close

User-Agent: Mbuni/1.1.0

HTTP/1.0 202 Accepted

Server: Kannel/1.4.0

Content-Length: 5

Content-type: text/html

Pragma: no-cache

Cache-Control: no-cache

 

Sent.



2.       When trying to access the mms with a picture from a web browser (firefox) the mmsproxy crashes. Using telnet and sending the headers as sent by the phone does not crash the server and the mmsproxy seems to return a correct response. Here is the log:

 

2006-09-11 08:03:13 [17099] [2] DEBUG: HTTP: Creating HTTPClient for `…`.

2006-09-11 08:03:13 [17096] [0] PANIC: gwlib/octstr.c:2325: seems_valid_real: Assertion `ostr != NULL' failed. (Called from gwlib/octstr.c:1310:octstr_strip_nonalphanums.)  

2006-09-11 08:03:13 [17096] [0] PANIC: ./bin/mmsproxy(gw_panic+0x1a4) [0x8084ca4]

2006-09-11 08:03:13 [17096] [0] PANIC: ./bin/mmsproxy [0x808d4ef]

2006-09-11 08:03:13 [17096] [0] PANIC: ./bin/mmsproxy(octstr_strip_nonalphanums+0x2b) [0x808aca3]

2006-09-11 08:03:13 [17096] [0] PANIC: ./bin/mmsproxy(main+0x2ad) [0x8052ca9]

2006-09-11 08:03:13 [17096] [0] PANIC: /lib/i686/libc.so.6(__libc_start_main+0x93) [0x402da687

2006-09-11 08:03:13 [17096] [0] PANIC: ./bin/mmsproxy(strcpy+0x31) [0x80528e1]


 

Thanks in advance,

Nadav

 

Attachment: msg2.eml
Description: msg2.eml

Attachment: msg1.eml
Description: msg1.eml

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

Reply via email to