Peffis Site Admin
Joined: 09 Sep 2003 Posts: 324 Location: Sweden
|
Posted: Fri Mar 12, 2004 4:35 pm Post subject: |
|
|
Hi Martin,
Well, that is the MMS service that your operator provides. I assume that you would like to send a message to another phone then without using the operator's MMSC. Well of course you can do that.
What you need to do in addition in order for the other phone to receive it is to put the chunk the phone posts to the site in a location accessible through a web server over HTTP so that you have a URL that you can use to access the message (you need to change at least the message type byte in the message you receive to that it is correct (see the documents at http://wapforum.org (especially the MMS Encapsulation document).
Then in order to wake the receiving phone up you will need to send it an SMS containing an MMS notification (see documents at wapforum). This is a binary SMS (probably even two SMS:es because it's hard to make the data fit into one). Essentially it contains the URL to your message. Take a look at http://kannel.org for instance for a wap gw that provides SMS sending capabilities. Simply attaching a phone in a serial cable to your server will do for small scale systems.
When the other phone receives this SMS it will start downloading the message using a WAP GET (which the WAP GW translates into a HTTP GET) . Once downloaded it will appear on the phone as a new MMS.
It is required however that the receiving phone can access your server (the place where the message is stored avaiting retrieval) through its wap gw settings. Not all MMS profiles given you by operators gives you permission to download messages off the net - only from the operator's MMSC. Sometimes it helps by choosing another wap gw (e.g. the one the operator has provided for regular wml browsing) but sometimes life just sucks  |
|