It seems to be working much better now. Thanks!

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Bagyenda
Sent: Wednesday, September 13, 2006 7:23 PM
To: Mbuni MMS Gateway Users List
Subject: Re: [Users] mms receiving problem

 

Ok, check that you are permitting kannel's send-sms user to split sms. Something like

 

 concatenate = true

 max-messages = 20

 

in the send-sms user group.

 

On Sep 13, 2006, at 21:15, Nadav Fried wrote:



Hi,

 

As for the version, I used the following command to retrieve the files from CVS:

 

cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/mbuni co -P mbuni

 

After some more checking I've come to the conclusion that mms receiving success somehow depends on the mms retrieval url length (even for the same email message). Sometimes the url is longer and contains '-' characters – in this case the mms is not retrieved by the phone and I don’t see any requests from the phone to the server.

In other cases the url is shorter and does not contains '-' characters and then the mms is received successfully.

Do you have any idea how this could happen?

Here are the requests to the kannel (the successful is the first one):

 

127.000.000.001.44511-127.000.000.001.13013: GET /cgi-bin/sendsms?username=t&password=f&text=%02%06%03%BE%AF%84%8C%82%98int-80.1981.d.axismobile.com%40qf6772.2.x642.64%00%8D%90%8A%80%8E%02%11%BA%88%05%81%03%05~%3F%83http%3A%2F%2Fint-80.1981.d.axismobile.com%2Fqf6772.2.x642.64%402%2Fwx30%00&to=%2B972545662510&udh=%06%05%04%0B%84%23%F0 HTTP/1.1

Host: localhost:13013

Connection: close

User-Agent: Mbuni/1.1.0

 

127.000.000.001.44519-127.000.000.001.13013: GET /cgi-bin/sendsms?username=t&password=f&text=%03%06%03%BE%AF%84%8C%82%98int-80.1981.d.axismobile.com%401-u2-qf6804.3.x643.28%00%8D%90%8A%80%8E%02%11%BA%88%05%81%03%05~%40%83http%3A%2F%2Fint-80.1981.d.axismobile.com%2F1-u2-qf6804.3.x643.28%402%2Fwx94%00&to=%2B972545662510&udh=%06%05%04%0B%84%23%F0 HTTP/1.1

Host: localhost:13013

Connection: close

User-Agent: Mbuni/1.1.0

 

 

10x,

Nadav


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Paul Bagyenda
Sent: Wednesday, September 13, 2006 12:54 PM
To: Mbuni MMS Gateway Users List
Subject: Re: [Users] mms receiving problem

 

Hi Nadav,

 

 What you are quoting is the traffic for the notifications. Assuming both notifications are indeed getting to the phone (verify that you have concatenation=true for your send-sms group in kannel), you should see in the mbuni log the phone trying to fetch the message. This would seem not to be the case as you say. Please verify, or lets have a look at the logs.

 

On the crash: Doubtful that this is the latest CVS, as it should not crash on this error any more. Could you verify this too?

 

Paul.

 

On Sep 13, 2006, at 11:47, Nadav Fried wrote:




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.
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.
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

 

_______________________________________________

Users mailing list

 

_______________________________________________

Users mailing list

 

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

Reply via email to