SMS    Telecoms
 


»Sign Up     »Contact Us  
 
 
       

Get MMS content delivered to your web application




Account Login
Lost password?

aql ®
  Award Winning Service
 
aql Telecoms
  Click here to view aql's range of voice fax and Business Voice over IP telephony solutions
 
New Accounts
  Signup for a starter account from only £6+VAT.

If you are a business user, apply here for a free trial account




Send multimedia content from your phone to your web application

Multimedia content includes one or more of audio recordings, camera images, video recordings, text and more.

You will need a number to send your MMS messages to. Account holders can use our shared MMS number for free. If you require dedicated MMS numbers, we can provide them

If you use the shared MMS number, you will need to register a keyword so that we can tell which messages are yours.

How to register and configure a single keyword

Log in to your account at aql.com
From the menus select TextBack, then MSISDN, then Manage keywords



Click on 'add'



Complete the keyword registration form :

KeywordAny combination of letters and numbers not already registered
Action on reception of messageChoose HTTP Post
HTTP Posting URLEnter the URL that that you want to receive MMS messages to


Receiving MMS to HTTP

Your application will receive an HTTP post request composed of HTTP post variables and files

There will be three HTTP post variables :

variable namecontent
sourceThis variable will always contain 'HTTPtoMMS'
messageThis variable will contain the part of the message following the keyword
originatorThe sender's mobile number in international format

The multimedia files will be accessible as HTTP post files

Example implementation

Download this example php script

This php script is an example of a basic HTTP post request handler that adds captioned images and links through which 3gp video can be downloaded to a webpage.

It is not secure and should not be used on a live server

The example php script would enable you to view MMS content sent to the shared MMS number with keyword YOURKEYWORD at http://yourserver.com/mms

It is assumed in this example that http://yourserver.com is stored on your server at /var/www

To install, configure and use the example script

1 Configure your keyword to HTTP post the MMS content to http://yourserver.com/mms-to-http-script.php
2 Change the value of $strLocation at the start of the example script to 'mms/'
3 Upload this script to /var/www/mms-to-http-script.php
4 Upload an empty file to /var/www/mms/index.html
5 Check that your script and directory permissions are appropriately configured
6 Send an MMS with the text yourkeyword aql mms to http test to the shared MMS number 07740 404142