External Delivery Report (Dlr) Storage; Internal Dlr Storage; Mysql Dlr Storage; Libsdb Dlr Storage - Kannel WAP and SMS gateway User Manual

Open source wap and sms gateway
Table of Contents

Advertisement

Chapter 5. Setting up a SMS Gateway

External delivery report (DLR) storage

Delivery reports are supported by default internaly, which means all DLRs are stored in the memory of
the bearerbox process. This is problematic if bearerbox crashes or you take the process down in a
controlled way, but there are still DLRs open. Therefore you may use external DLR storage places, i.e. a
MySQL database.
Following are the supported DLR storage types and how to use them:

Internal DLR storage

This is the default way in handling DLRs and does not require any special configuration. In order to
configure bearerbox to use internal DLR storage use
in the
group.
dlr-storage = internal
core

MySQL DLR storage

To store DLR information into a MySQL database you may use the
dlr-storage = mysql
configuration directive in the
group.
core
In addition to that you must have a
group defined that specifies the table field names that are
dlr-db
used to the DLR attributes and a
group that defines the connection to the MySQL
mysql-connection
server itself.
Here is the example configuration from
:
doc/examples/dlr-mysql.conf
group = mysql-connection
id = mydlr
host = localhost
mysql-username = foo
mysql-password = bar
database = dlr
group = dlr-db
id = mydlr
table = dlr
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc

LibSDB DLR storage

To store DLR information into a LibSDB ressource (which is an abstraction of a real database) you may
use the
configuration directive in the
group.
dlr-storage = sdb
core
69

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

1.3.1

Table of Contents