MMS Technology

Ozeki Message Server 6 can send and receive MMS messages with one or more GSM modems attached to your PC.

Introduction

The Multimedia Messaging Service (MMS) makes it possible to send pictures, audio and text messages using mobile phones in the cellular mobile telephone network. This service is provided by almost all GSM service providers giving you the opportunity to build new business models based on this technology.

Software developers can use Ozeki Message Server 6 to add MMS functionality to their applications in a matter of minutes. This chapter gives an example on how this can be done.

Prerequisites (Hardware)

To enable your application to send and receive MMS messages you need a standard PC, a mobile phone with MMS subscription and a data cable to connect the phone to your PC. The recommended PC configuration is Intel Pentium Single of Dual core, min. 2 Ghz CPU (or equivalent AMD CPUs), 120 MB free hard disk space, 1024 MB of RAM. The mobile phone attached to your PC must have GPRS support. The data cable can be a USB cable or a standard RS232 cable. The MMS subsucription can be purchased at your local GSM service provider, at the same shop you have purchased the SIM card.

prerequisites
Figure 1 - Prerequisites

We recommend to use a high quality, industry scale GSM modem such as the Siemens MC35 or the Wavecom Fastrack.

Please note, that most GSM mobile phones can be used to send MMS messages, but most of them cannot be used to receive MMS messages, because they eat the MMS indication SMS messages (detailes below). The Siemens MC35 and the Wavecom Fastrack modems can be used for both sending and receiving.

You can order a Wavecom fastrack modem for MMS for USD 400,- (+ shipping cost) by sending an e-mail to sms@ozeki.hu .

Prerequisites (Software)

Once you have the neccessary hardware, you need to install Microsoft Windows XP, Vista, Windows 7, Windows 8, Windows 10, Windows Server 2003 and 2008 onto your pc and you should have the latest version of Ozeki Message Server 6. A trial copy of Ozeki Message Server 6 can be downloaded from the following URL: https://ozeki.hu/p_360-collect.html">

Receiving MMS messages

To create a solution for receiving MMS messages, you must understand how this technology works. In Figure 1. you can see that when your device receives an MMS message it takes two steps. First an SMS messages is received, that is called the MMS indication message. This SMS contains the URL or the MMS message in the MMSC. The MMSC is the message storage facility operated by the GSM service provider. Once this MMS indication SMS is received, your phone opens a GPRS connection and downloads the message.

receiving mms on a pc
Figure 2 - Receiving MMS on a PC

To make this work, you need to configure a GPRS link in the GSM modem configuration form in Ozeki Message Server 6. To do this please open, the Ozeki Server Manager, select the GSM Modem 1 configuration option from the drivers menu and open the Message handling tab. In the Message handling tab click on the MMS setting button and enter the GPRS connection information (Figure 2).

gprs and mms settings form

gprs and mms settings form
Figure 3 - GPRS and MMS settings form

Once the GPRS connection information is entered, you are ready to receive MMS messages. You have to connect your "GSM Modem 1" driver in Ozeki Message Server 6 and wait for incoming MMS indication SMS messages. Once you receive such an SMS, Ozeki Message Server 6 will automatically set up a GPRS link and download the MMS message from the MMSC. During the download a unique message ID will be assigned to the message and when the download completes a new entry will be recorded in the Inbox (Figure 3).

incoming mms message in the box
Figure 4 - Incoming MMS message in the inbox

It is imporatnat to know that incoming MMS message are made up from individual files, such as JPG and GIF picutres, WAV files and TXT content. These files are called attachments and are saved to a directory identified by the message ID. The entry in your inbox contains the message id and a list of attachments you can find in the download directory. The download directory is located at C:\Program Files\Ozeki\Ozeki Message Server\Drivers\GSM Modem 1\MMS\ in the default configuration (Figure 4).

download directory for incoming mms messages
Figure 5 - Download directory for Incoming MMS messages.

Sending MMS messages

Sending MMS messages is more simple. In this case a content upload is performed by Ozeki Message Server 6 (Figure 5). The GPRS and MMS settings configured for incoming messages apply to sending as well. To send a message all you have to do is to select the "MMS:SMIL" or "MMS:TEXT" message type in the message composer window and enter your message in the appropriate format. For example you would enter "Hello, this is my first message [MMSID=KAFZIAODRS; ATTACHMENTS=layout.smil;mypic.jpg;]" If you would like to send a message containing mypic.jpg saved in the C:\Program Files\Ozeki\Ozeki Message Server\Drivers\GSM Modem 1\MMS\KAFZIAODRS\ directory. The text in this message will be the subject of the MMS and the layout.smil attachment file will describe the presentation.

sending mms messages
Figure 6 - Sending MMS messages

More information