Dlr Database Field Configuration; Dlr Database Field Configuration Group Variables - Kannel WAP and SMS gateway User Manual

Open source wap and sms gateway
Table of Contents

Advertisement

In addition to that you must have a
used to the DLR attributes and a
Here is the example configuration from
group = sdb-connection
id = mydlr
url = "mysql:host=localhost:db=dlr:uid=foo:pwd=bar"
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
Beware that you have the DB support build in your LibSDB installation when trying to use a specific DB
type within the URL.
DLR database field configuration
For external database storage of DLR information in relational database management systems (RDMS)
you will have tospecify which table field are used to represend the stored data. This is done via the
group as follows:
dlr-db
Table 5-11. DLR Database Field Configuration Group Variables
Variable
group
id (m)
table (m)
field-smsc (m)
group defined that specifies the table field names that are
dlr-db
group that defines the LibSDB ressource itself.
sdb-connection
doc/examples/dlr-sdb.conf
Value
dlr-db
string
string
string
Chapter 5. Setting up a SMS Gateway
using a MySQL ressource:
Description
This is a mandatory variable
An id to identify which external
connection should be used for
DLR storage. Any string is
acceptable, but semicolon ';'
may cause problems, so avoid it
and any other special
non-alphabet characters.
The name of the table that is
used to store the DLR
information.
The table field that is used for
the smsc data.
70

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

1.3.1

Table of Contents