i am soory for mailling you to you mail box rather than the users mail list. But anyways i need your help. I have been able to compile my kannel 1.4.0 with mysql suppot alright on red hat 8. It is able to recieve and send smses. But the problem is this there are no DLRs stored in the dlr table in the mysql database.
I also see this line when bearerbox is starting up


INFO: DLR rerouting for smsc id <owen> disabled.

could this be the problem?
****************************************************************************************************************
here is my configuration

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
#status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
log-file = "/var/log/kannel.log"
#log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
dlr-storage = mysql
#unified-prefix = "+358,00358,0;+,00"
#access-log = "/tmp/access.log"
#store-file = "/tmp/kannel.store"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"
#ssl-certkey-file = "mycertandprivkeyfile.pem"

# SMSC CONNECTIONS

#group = smsc
#smsc = fake
#smsc-id = FAKE
#port = 10000
#connect-allow-ip = 127.0.0.1

#SMPP based SMSC configuration file

#include =/usr/local/gateway-1.4.0/gw/smpp.conf


# MODEMS SETUP

group = modems
id = wavecom
name = Wavecom
detect-string = "WAVECOM"


#GSM Modem Virtual SMSC group = smsc smsc = at smsc-id = celtel modemtype = auto device = /dev/ttyS0 speed = 9600 #sms-center = "+26096060015" sms-center = "+260971911200"


group = smsbox bearerbox-host = localhost.localdomain sendsms-port = 13013 global-sender = 13013 #sendsms-chars = "0123456789 +-" log-file = "/var/log/smsbox.log" #log-level = 0 access-log = "/var/log/access.log"


# SEND-SMS USERS

group = sendsms-user
username = tester
password = foobar
#user-deny-ip = ""
#user-allow-ip = ""

#include = /usr/local/gateway-1.4.0/gw/services.conf
include = /usr/local/gateway-1.4.0/gw/dlr-mysql.conf


# SERVICES

group = sms-service
keyword = nop
text = "You asked nothing and I did it!"

# there should be default always

group = sms-service
keyword = default
aliases = d
get-url = "http://192.168.0.25/contentsys/randomselection.php?content_type=%k";


***********************************************************************************************************

and my kannel log

2005-04-06 17:01:24 [22896] [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0
2005-04-06 17:01:24 [22896] [0] DEBUG: Loading include file `/usr/local/gateway-1.4.0/gw/dlr-mysql.conf' (on line 90 of file
/usr/local/gateway-1.4.0/gw/kannel.conf).
2005-04-06 17:01:25 [22896] [0] INFO: MYSQL: Connected to server at localhost.
2005-04-06 17:01:25 [22896] [0] INFO: MYSQL: server version 3.23.52, client version 3.23.52.
2005-04-06 17:01:25 [22896] [0] INFO: DLR using storage type: mysql
2005-04-06 17:01:25 [22896] [0] DEBUG: Kannel bearerbox version `1.4.0'.
Build `Apr 6 2005 16:55:49', compiler `3.2 20020903 (Red Hat Linux 8.0 3.2-7)'.
System Linux, release 2.4.18-14, version #1 Wed Sep 4 13:35:50 EDT 2002, machine i686.
Hostname localhost.localdomain, IP 127.0.0.1.
Libxml version 2.4.23.
Using OpenSSL 0.9.6b [engine] 9 Jul 2001.
Compiled with MySQL 3.23.52, using MySQL 3.23.52.
Using native malloc.


2005-04-06 17:01:25 [22896] [0] INFO: Added logfile `/var/log/kannel.log' with level `0'.
2005-04-06 17:01:25 [22896] [0] INFO: HTTP: Opening server at port 13000.
2005-04-06 17:01:25 [22896] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2005-04-06 17:01:25 [22896] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2005-04-06 17:01:25 [22896] [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run)
2005-04-06 17:01:25 [22896] [0] DEBUG: starting smsbox connection module
2005-04-06 17:01:25 [22896] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100).
2005-04-06 17:01:25 [22896] [0] DEBUG: Started thread 4 (gw/bb_boxc.c:sms_to_smsboxes)
2005-04-06 17:01:25 [22899] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 22899.
2005-04-06 17:01:25 [22900] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 22900.
2005-04-06 17:01:25 [22896] [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run)
2005-04-06 17:01:25 [22896] [0] INFO: DLR rerouting for smsc id <celtel> disabled.
2005-04-06 17:01:25 [22896] [0] INFO: AT2[celtel]: configuration doesn't show modemtype. will autodetect
2005-04-06 17:01:25 [22901] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid 22901.
2005-04-06 17:01:25 [22896] [0] DEBUG: Started thread 6 (gw/smsc/smsc_at.c:at2_device_thread)
2005-04-06 17:01:25 [22902] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 22902.
2005-04-06 17:01:25 [22896] [0] DEBUG: Started thread 7 (gw/bb_smscconn.c:sms_router)


any help will be appreciated






Reply via email to