Hi Randeep,
Randeep Singh wrote:
Hi Gareth,
I am a complete newbie for WAP/GPRS/SMS/MMS.
I have to build an application which is like this: A GPRS/GSM modem is installed on a PC, the user sends a SMS with the file name to the modem and our application sends an image (*.jpg) back or a small video clip (*.3gp) back to the user as a MMS.
Please let me know how we can implement this kind of solution using Mbuni + Kannel. Any starts!
I am thinking like this:
1. Configure Mbuni + Kannel (How to do this on Windows?)
I started by configuring kannel to send and recieve sms. This seems a good place to start :) It is currently only for *nix platforms. You may be able to use cygwin.
2. SMS comes (How to retrieve it and read the file name in the message? from Kannel or Mbuni??
You have a section in your config file that matches a word.
group = sms-service keyword = quote get-url = "http://zeus.parthcomp.com/cgi-bin/quote.cgi?submission=%r" catch-all = true;
This calls the url (at which I have a perl script) with all words after the word "quote".
3. If file does not exists, send the user an SMS saying so. (How to send SMS?)
The response of the perl script above will be sent back to the client. You could do that there.
4. If file exists. Need to convert it into a .mms file (How do we do that? Is it
different for images or other files eg: video clips?)
Take a look at mmslib. It is a PHP program for creating the mms.
5. Send it to user via MMS. (Which command we need to use for sending)
In this case you either need to configure their phone to use your gateway, or use wap push to send out a url where you have put the content. It the latter case the file would not have to be an mms. Take a look at the wap_push example in kannel. Any other options anyone?
If you want to know more about MMS, take a look at
http://www.openmobilealliance.org/release_program/mms_v12.html
It really helped me.
Cheers,
Gareth
-- Gareth Reakes, Managing Director Parthenon Computing +44-1865-811184 http://www.parthcomp.com
_______________________________________________ Users mailing list [email protected] http://mbuni.org/mailman/listinfo/users_mbuni.org
