Re: [Users] [MMSBox] sendmms CGI script and Kannel sendsms notification/ Nothing received on the mobile
Hi, In the first case the push is 132 B and fits 1 SMS In the 2nd case push is 148 B and is split in 2 SMS. I don't know what coding mbuni is using, but if the push is 8-bit or 7-bit + Udh length 160, then it should split. As far as notification goes, I imagine that in the first case, that you have a picture, you get a notification to get it. In the second case that you don't have anything, what to be notified for? BR, Nikos - Original Message - From: Emmanuel CHANSON To: users@mbuni.org Sent: Wednesday, November 11, 2009 11:24 PM Subject: [Users] [MMSBox] sendmms CGI script and Kannel sendsms notification/ Nothing received on the mobile Dears, I am testing MMSBox and MMSC (both Mbuni gateway) but I am faced to an issue regarding the use of the sendmms CGI script. The issue for me is located on Kannel side but I would like your confirmation first before asking Kannel users. I have send a MMS using mmssend I receive the notification: # mmssend -f -t 687850850 -m /home/manu/softs/Mbuni/cat.mms /etc/mmsc.conf == /var/log/mbuni/mmsc-access.log == 2009-11-10 10:36:39 Notify MMS [INT:MM1] [ACT:] [MMSC:] [from:system] [to:+687850850/TYPE=PLMN] [msgid:qf9794.1.x412...@61.5.221.52/mmsc/mm1] [size=-1] [UA:] [MMBox:] == smsbox.log == 2009-11-10 10:36:39 [23490] [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'. 2009-11-10 10:36:39 [23490] [2] DEBUG: HTTP: Created HTTPClient area 0x8e18a58. 2009-11-10 10:36:39 [23490] [3] INFO: smsbox: Got HTTP request /var/www/kannel/sendsms from 127.0.0.1 2009-11-10 10:36:39 [23490] [3] INFO: sendsms used by alt 2009-11-10 10:36:39 [23490] [3] INFO: sendsms sender:alt:687971204 (127.0.0.1) to:+687850850 msg:^N^F^CΎ―~D~L~B~X61.5.221. 52/mmsc/mm1-qf9798.14.x178.77 2009-11-10 10:36:39 [23490] [3] DEBUG: Stored UUID 7a0fe62d-4ed3-4a61-ad7c-80e240c6dc6b 2009-11-10 10:36:39 [23490] [3] DEBUG: message length 132, sending 1 messages 2009-11-10 10:36:39 [23490] [3] DEBUG: Status: 202 Answer: Sent. 2009-11-10 10:36:39 [23490] [3] DEBUG: Delayed reply - wait for bearerbox 2009-11-10 10:36:39 [23490] [0] DEBUG: Got ACK (0) of 7a0fe62d-4ed3-4a61-ad7c-80e240c6dc6b 2009-11-10 10:36:39 [23490] [0] DEBUG: HTTP: Resetting HTTPClient for `127.0.0.1'. But using sendmms CGI script I got no notification: # lynx -dump http://localhost:10001/?username=altmmspassword=altmmsto=687850850/TYPE=PLMNsubject=Testtext=MMS; == /var/log/mbuni/mmsc-access.log == 2009-11-10 10:21:08 Notify MMS [INT:MM1] [ACT:] [MMSC:] [from:system] [to:687850850/TYPE=PLMN] [msgid:d-h8-qf8864.9.x172...@61.5.221.52/mmsc/mm1] [size=-1] [UA:] [MMBox:] == smsbox.log == 2009-11-10 10:21:08 [23490] [3] INFO: smsbox: Got HTTP request /var/www/kannel/sendsms from 127.0.0.1 2009-11-10 10:21:08 [23490] [3] INFO: sendsms used by alt 2009-11-10 10:21:08 [23490] [3] INFO: sendsms sender:alt:687971204 (127.0.0.1) to:+687850850 msg:^M^F^CΎ―~D~L~B~X61.5.221.52/mmsc/mm1-3-g5-qf8868.13.x178.73 2009-11-10 10:21:08 [23490] [3] DEBUG: Stored UUID d990d9bf-1d19-47e8-b1a5-32b4a87c99ad 2009-11-10 10:21:08 [23490] [3] DEBUG: message length 148, sending 2 messages 2009-11-10 10:21:08 [23490] [3] DEBUG: Status: 202 Answer: Sent. Message splits: 2 2009-11-10 10:21:08 [23490] [3] DEBUG: Delayed reply - wait for bearerbox 2009-11-10 10:21:08 [23490] [0] DEBUG: Got ACK (0) of d990d9bf-1d19-47e8-b1a5-32b4a87c99ad 2009-11-10 10:21:08 [23490] [0] DEBUG: HTTP: Resetting HTTPClient for `127.0.0.1'. Note in one case message is not split... MMS is each case are dfferent (text+picture for first test, only text in second test). Regards, -- Emmanuel @email : emmanuelchan...@gmail.com -- ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
Re: [Users] Feature request and very small patch
Hi, I have not followed the thread, but I have a question: What is this about kannel's routing not set up? SMSc routing is set in kannel at startup. Maybe you just need to start kannel before mbuni, and perhaps introduce some delay before starting mbuni? BR, Nikos - Original Message - From: Ben Hardill b.hard...@gmail.com To: users@mbuni.org Sent: Wednesday, November 11, 2009 3:26 PM Subject: [Users] Feature request and very small patch Hi, Thanks to all the help from Nuno and Paul, I now have my low power Ubuntu box sending MMS (I'll look at receiving next, but I think the Sony [w880i] I'm using intercepts the WAP push messages before Kannel sees them). In order to get it all working I had to add a small delay after starting PPP as Mbuni was trying to send the post before the routing was all up and running properly, so I have added the following just after the call to start ppp in mmsbox_mm1.c if (mm1-gprs_on) pid = start_gprs(mm1-gprs_on, mm1-gprs_pid); gwthread_sleep(3); #--- short pause to allow ppp to finish setting up the connection if (pid 0) { mms_warning(0, mmsbox-mm1, NULL,failed to start GPRS connection. waiting...); Now the feature request. Would it be possible to add an argument to to the MMS submission to treat all media as local. e.g. if I put an image into a smil with a file:// URL then the content is sent to the MMSC, but if I start with http:// then only the URL is sent. I would like to be able to stage media on my internal network and have it forwarded as if it was content referenced as a file:// URL? At the moment I'm copying the media to a mount on the machine running Mbuni, but I would like to be able to write an app that only talks http (client and server) and not need to copy the files. Just a thought, Thanks ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users