demo page for SMS Gateway


Mail 2 SMS Gateway service Closed

Due to its increasing popularity,
and costs related to sms's sent all over the world,
we had to shut down the mail2sms gateway service.
It is still available for dedicated accounts.

The SMS Gateway support team
sms@oracle.2question.com

This page demonstrates the configuration of an SMS gateway on linux

Secure access with SMS

Probably the best and most pragmatic way of ensuring secure access is the combination of a physical and a logical key.
Drawbacks of logical keys are that these can be shared and therefor used by others.
The advantage of logical keys is that it is easy to generate and manage (automatic periodic renewals, mandatory combination of letters and numbers etc).
One of the drawbacks of physical keys is that they can be lost.
The main advantage is that is is unique and can't be shared.

Security, identification and autorisation can be ensured by using a combination with both phone and username/password combination.
email is mandatory
password is mandatory
phone number must be entered without spaces and -
log in (test)
phonenumber
starting with +
password (default admin)
email
(for verification)
 

Paid downloads with SMS

Instruction: send an sms to +31628617829 with
message: SOSA ###
where ### is the number of the file you like to download
eg SOSA 2 id you like to download the song.
Wait for email confirmation.
In that email is an instruction for downloading.
In this demo you send a SMS from your mobile
to the SMS gateway on the linux box.
The gateway verifies the credentials,
creates a unique url that will be available for
a short period of time.

Mobile services

Passing mail to and from sms.

Send mail to sms@oracle.2question.com
with in the subject line the (international, starting with +) phone number
and in the body the message.

Components, architecture and configuration

Platform:
Red Hat Enterprise Linux AS release 3 (Taroon Update 9)
Linux oracle.2question.com 2.4.21-50.EL #1 Tue May 8 17:26:44 EDT 2007 i686 i686 i386 GNU/Linux

Components:
This list of components is used to configure the SMS Gateway.

Starting / Stopping
Starting the gateway
After you have compiled Kannel and edited configuration file for your taste, you can either run Kannel from command line or use supplied start-stop-daemon and run_kannel_box programs to use it as a daemon service (more documentation about that later).

If you cannot or do not know how to set up daemon systems or just want to test Kannel, you probably want to start it from command line. This means that you probably want to have one terminal window for each box you want to start (xterm or screen will do fine). To start the bearerbox, give the following command: 

./bearerbox -v 1 [conffile]
$ nohup bearerbox ~theo/software/linux/gateway-1.2.1/gw/smskannel.conf &
The -v 1 sets the logging level to INFO. This way, you won't see a large amount of debugging output (the default is DEBUG). Full explanation of Kannel command line arguments is below. [conffile] is the name of the configuration file you are using with Kannel. The basic distribution packet comes with two sample configuration files, smskannel.conf and wapkannel.conf (in gw subdirectory), of which the first one is for testing out SMS Kannel and the second one for setting up a WAP Kannel. Feel free to edit those configuration files to set up your own specialized system. After the bearer box, you can start the WAP box: ./wapbox -v 1 [conffile] or the SMS box: ./smsbox -v 1 [conffile]
$ nohup smsbox ~theo/software/linux/gateway-1.2.1/gw/smskannel.conf &
or both, of course. The order does not matter, except that you need to start the bearer box before the other boxes. Without the bearer box, the other boxes won't even start.

See oracle.2question.com/rss for fresh news on this topic and others

For info on installing PHP on Redhat AS 3.o with Oracle 10g, see more details


april 2004, 2question.com
theo theunissen

PHP confiure commands: './configure' '--host=i386-redhat-linux' '--build=i386-redhat-linux' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--enable-force-cgi-redirect' '--disable-debug' '--enable-pic' '--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-db4=/usr' '--with-curl' '--with-dom=/usr' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd' '--enable-gd-native-ttf' '--with-ttf' '--with-gdbm' '--with-gettext' '--with-ncurses' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-regex=system' '--with-xml' '--with-expat-dir=/usr' '--with-pcre=/usr' '--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-discard-path' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-mbregex' '--without-oci8' '--with-pear=/usr/share/pear' '--with-kerberos=/usr/kerberos' '--with-ldap=shared' '--with-mysql=shared,/usr' '--with-pgsql=shared' '--with-unixODBC=shared' '--enable-memory-limit' '--enable-bcmath' '--enable-shmop' '--enable-versioning' '--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mcal' '--with-apxs2filter=/usr/sbin/apxs' '--with-imap=shared' '--with-imap-ssl'