Using The Fake Sms Center; Setting Up Fakesmsc; Compiling Fakesmsc; Configuring Kannel - Kannel WAP and SMS gateway User Manual

Open source wap and sms gateway
Table of Contents

Advertisement

Appendix B. Using the fake SMS center
Fakesmsc is a simple testing tool to test out Kannel and its SMS services. It cannot be used to send
messages to mobile terminals, it is just a simulated SMS center with no connection to real terminals.

Setting up fakesmsc

This section sums up needed steps to set up system for fakesmsc use.

Compiling fakesmsc

The fake SMS center should compile at the same time as main Kannel compiles. The outcoming binary,
, is in
fakesmsc
Configuring Kannel
To use
fakesmsc
simplest form for this configuration group is like this:
group = smsc
smsc = fake
port = 10000
The fakesmsc configuration group accepts all common 'smsc' configuration group variables, like
,
smsc-id
preferred-smsc-id
and diverted services, before setting up real SMS center connections. If you include a fakesmsc group
when bearerbox is connected to real SMS centers, you should add the
prevent unauthorized use.
To set up multiple fakesmsc'es, just add new groups. Remember to put a different port number to each
one.

Running Kannel with fakesmsc connections

After configuring Kannel, you can start testing it. The bearerbox will listen for fakesmsc client
connections to the port(s) specified in the configuration file.

Starting fake SMS center

Each fakesmsc is started from command line, with all sent messages after command name. If any options
are used (see below), they are put between the command and the messages. The usage is as follows:
test/fakesmsc [options]
directory. The source code is quite simple and trivial, and is easily edited.
test
to test out Kannel, you have to add it to main configuration file (see above). The
or
denied-smsc-id
message1
, which can be used to test out routing systems
connect-allow-ip
[message2 ...]
variable to
95

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

1.3.1

Table of Contents