[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kannel sms gateway



Con kannel ora ricevo sms e li spedisco, però non riesco a
memorizzarli se non usando una chiamata get.url.

non riesco a usare mysql come storage per esempio

nel ccore ho

dlr-storage = mysql

poi ho messo
group = mysql-connection
id = dlrdb
host = localhost
username = root
password =
database = dlr
# max count of connections that will be opened for dbpool
# default is 1
max-connections = 5

#
# Create the required table for the DLR support in the database
# with something similar like this:
#
#   CREATE TABLE dlr (
#     smsc varchar(40),
#     ts varchar(40),
#     destination varchar(40),
#     source varchar(40),
#     service varchar(40),
#     url varchar(255),
#     mask int(10),
#     status int(10),
#     boxc varchar(40)
#   )
#

group = dlr-db
id = dlrdb
table = dlr
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc



nel log non ho nessuna traccia di attività verso mysql

ma lo status di kannel è questo:
Kannel bearerbox version `1.4.1'. Build `Oct 17 2006 02:55:06',
compiler `4.1.2 20061007 (prerelease) (Debian 4.1.1-16)'. System
Linux, release 2.6.26-2-686, version #1 SMP Sun Jun 21 04:57:38 UTC
2009, machine i686. Hostname debiansms.ilbonzo, IP 127.0.1.1. Libxml
version 2.6.26. Using OpenSSL 0.9.8c 05 Sep 2006. Compiled with MySQL
5.0.24a, using MySQL 5.0.51a. Using native malloc.

Status: running, uptime 0d 0h 0m 52s

WDP: received 0 (0 queued), sent 0 (0 queued)

SMS: received 1 (0 queued), sent 0 (0 queued), store size -1

SMS: inbound 0.02 msg/sec, outbound 0.00 msg/sec

DLR: 0 queued, using mysql storage

Box connections:
    smsbox:(none), IP 127.0.0.1 (0 queued), (on-line 0d 0h 0m 51s)

SMSC connections:
    unknown    AT2[/dev/ttyS0] (online 32s, rcvd 1, sent 0, failed 0,
queued 0 msgs)


-- 
http://ilbonzo.org
tel: 051 0546614
via A. Spinelli 15
40068 San Lazzaro di Savena (BO)


Reply to: