Halo users, 
1. when i send sms from my phone to kannel via modem, some values in my 
sent_sms table are NULL: dlr_mask and dlr_url, account, boxc_id from sender to 
modem, udhdata, service from modem to sender, sms_type = 0 or 1
but via browser dlr_mask and dlr_url are now ok, account and udhdata still 
NULL, sms_type after sending is 3. Any idea where I am going wrong or missing 
the point? 

In browser I have successfully used 
http://localhost:13013/cgi-bin/sendsms?username=tester&password=foobar&to=%2Bxxxxxxxxxxxx&dlr-mask=31&dlr-url=http%3A%2F%2Flocalhost%2Fdlr.php%3Fdlr-mask%3D31%26status%3D%25d%26source%3D%25p%26destination%3D%25P%26smscid%3D%25i%26report%3D%25A%26smsmsg%3D%25a%26keywd%3D%25k%26server_date%3D%25T%26ts%3D%25t%26kannelId%3D%25I%26slid%3D%25t%26smsservice%3D%25n

2. Another thing that's bothering me is why should i have two entries for 
groups mysql-connection and dlr-db (kannel.conf and sqlbox.conf)?
I have tried removing the one in sqlbox.conf and I get problems

below are my configurations for bearerbox and sqlbox

Thanks 


#==================================
kannel.config
#==================================
group = core
admin-port = 13000
admin-password = bar
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1"
smsbox-port = 13001
#wapbox-port = 13002
#wdp-interface-name = "*"
log-file = "/tmp/kannel.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
dlr-storage = mysql
access-log = "/tmp/kannel-access.log"

##------ mysql connection -------
group = mysql-connection
id = databasedlr
host = localhost
username = dbuser
password = databasepwd
database = database
max-connections = 10

### DLR table structure
group = dlr-db
id = databasedlr
table = database_dlr
field-timestamp = server_date
field-smsc = smsc
field-destination = destination
field-source = source
field-service = user_service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc

#---------------------------------------------
# SMSC CONNECTIONS
#
group = smsc
smsc = at
smsc-id = mysmsc
modemtype = auto
device = /dev/ttyUSB3
my-number = +xxxxxxxxxxxx
sms-center = +xxxxxxxxxxxx
sim-buffering = true
log-level = 0

#---------------------------------------------
# SMSBOX SETUP
#
group = smsbox
bearerbox-host = localhost
bearerbox-port = 13003
smsbox-id = mysmsbox
sendsms-port = 13013
global-sender = "+xxxxxxxxxxxx"
sendsms-chars = "0123456789 +-"
http-request-retry = 3
http-queue-delay = 15
log-file = "/tmp/smsbox.log"
log-level = 0
access-log = "/tmp/smsbox-access.log"

#---------------------------------------------
# SMSBOX ROUTE
#
group = smsbox-route
smsbox-id = mysmsbox
smsc-id = mysmsc
#shortcode = "1111;2222;3333"

#---------------------------------------------
# SEND-SMS USERS
#
group = sendsms-user
username = tester
password = foobar
concatenation = true
max-messages = 10
dlr-url = 
"http://localhost/dlr.php?dlr-mask=31&status=%d&source=%p&destination=%P&smscid=%i&report=%A&smsmsg=%a&keywd=%k&server_date=%T&ts=%t&kannelId=%I&slid=%t&smsservice=%n";

#---------------------------------------------
# SERVICES
#
group = sms-service
keyword = default
accepted-smsc = mysmsc
get-url = "http://localhost/geturl.php?t=%t&q=%q&a=%a&Q=%Q&d=%d&smsc=%i";
max-messages = 1
concatenation = true

group = sms-service
keyword = nop
max-messages = 1
concatenation = true
text = "You asked nothing and I did it!"

group = sms-service
keyword = default
text = "No service specified"

include = "modems.conf"






#==================================
sqlbox.config
#==================================
group = sqlbox
id = databasedlr2
smsbox-id = mysmsbox
global-sender =  "+xxxxxxxxxxxx" 
bearerbox-host = localhost
bearerbox-port = 13001
smsbox-port = 13003
smsbox-port-ssl = false
sql-log-table = sent_sms
sql-insert-table = send_sms
log-file = "/tmp/kannel-sqlbox.log"
log-level = 0

# Example MYSQL Connection
group = mysql-connection
id = databasedlr2
host = localhost
username = dbuser
password = databasepwd
database = database
max-connections = 10

### DLR table structure
group = dlr-db
id = databasedlr2
table = database_dlr
field-timestamp = server_date
field-smsc = smsc
field-destination = destination
field-source = source
field-service = user_service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc


and below are my logs

bearerbox log
=====================================================================================
2012-01-29 08:44:23 [17082] [0] INFO: Added logfile `/tmp/kannel.log' with 
level `0'.
2012-01-29 08:44:23 [17082] [0] INFO: Started access logfile 
`/tmp/kannel-access.log'.
2012-01-29 08:44:23 [17082] [0] INFO: HTTP: Opening server at port 13000.
2012-01-29 08:44:23 [17082] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2012-01-29 08:44:23 [17082] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to 
pid 17082.
2012-01-29 08:44:23 [17082] [0] DEBUG: Started thread 2 
(gwlib/http.c:server_thread)
2012-01-29 08:44:23 [17082] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) 
maps to pid 17082.
2012-01-29 08:44:23 [17082] [2] DEBUG: HTTP: Including port 13000, fd 18 for 
polling in server thread
2012-01-29 08:44:23 [17082] [0] DEBUG: Started thread 3 
(gw/bb_http.c:httpadmin_run)
2012-01-29 08:44:23 [17082] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) 
maps to pid 17082.
2012-01-29 08:44:23 [17082] [0] DEBUG: starting smsbox connection module
2012-01-29 08:44:23 [17082] [0] INFO: BOXC: 'smsbox-max-pending' not set, using 
default (100).
2012-01-29 08:44:23 [17082] [0] DEBUG: Adding smsbox routing to id <mysmsbox> 
for smsc id <mysmsc>
2012-01-29 08:44:23 [17082] [0] DEBUG: Started thread 4 
(gw/bb_boxc.c:sms_to_smsboxes)
2012-01-29 08:44:23 [17082] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) 
maps to pid 17082.
2012-01-29 08:44:23 [17082] [0] DEBUG: Started thread 5 
(gw/bb_boxc.c:smsboxc_run)
2012-01-29 08:44:23 [17082] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps 
to pid 17082.
2012-01-29 08:44:23 [17082] [0] INFO: Set SMS resend frequency to 60 seconds.
2012-01-29 08:44:23 [17082] [0] INFO: SMS resend retry set to unlimited.
2012-01-29 08:44:23 [17082] [0] DEBUG: MO concatenated message handling enabled
2012-01-29 08:44:23 [17082] [0] INFO: DLR rerouting for smsc id <mysmsc> 
disabled.
2012-01-29 08:44:23 [17082] [0] INFO: AT2[mysmsc]: configuration doesn't show 
modemtype. will autodetect
2012-01-29 08:44:23 [17082] [0] DEBUG: Started thread 6 
(gw/smsc/smsc_at.c:at2_device_thread)
2012-01-29 08:44:23 [17082] [6] DEBUG: Thread 6 
(gw/smsc/smsc_at.c:at2_device_thread) maps to pid 17082.
2012-01-29 08:44:23 [17082] [0] DEBUG: Started thread 7 
(gw/bb_smscconn.c:sms_router)
2012-01-29 08:44:23 [17082] [0] DEBUG: starting UDP sender/receiver module
2012-01-29 08:44:23 [17082] [0] INFO: Adding interface *
2012-01-29 08:44:23 [17082] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) 
maps to pid 17082.
2012-01-29 08:44:23 [17082] [0] DEBUG: udpc_create: Bound to UDP <0.0.0.0:9200>
2012-01-29 08:44:23 [17082] [6] DEBUG: AT2[mysmsc]: detecting modem speed. 
2012-01-29 08:44:23 [17082] [6] INFO: AT2[mysmsc]: opening device
2012-01-29 08:44:23 [17082] [6] DEBUG: AT2[mysmsc]: device opened. Telnet mode 
= 0
2012-01-29 08:44:23 [17082] [0] DEBUG: Started thread 8 
(gw/bb_udp.c:udp_receiver)
2012-01-29 08:44:23 [17082] [8] DEBUG: Thread 8 (gw/bb_udp.c:udp_receiver) maps 
to pid 17082.
2012-01-29 08:44:23 [17082] [0] DEBUG: Started thread 9 (gw/bb_udp.c:udp_sender)
2012-01-29 08:44:23 [17082] [9] DEBUG: Thread 9 (gw/bb_udp.c:udp_sender) maps 
to pid 17082.
2012-01-29 08:44:23 [17082] [0] DEBUG: udpc_create: Bound to UDP <0.0.0.0:9201>
2012-01-29 08:44:23 [17082] [0] DEBUG: Started thread 10 
(gw/bb_udp.c:udp_receiver)
2012-01-29 08:44:23 [17082] [10] DEBUG: Thread 10 (gw/bb_udp.c:udp_receiver) 
maps to pid 17082.
2012-01-29 08:44:23 [17082] [0] DEBUG: Started thread 11 
(gw/bb_udp.c:udp_sender)
2012-01-29 08:44:23 [17082] [0] DEBUG: starting wapbox connection module
2012-01-29 08:44:23 [17082] [0] DEBUG: Started thread 12 
(gw/bb_boxc.c:wdp_to_wapboxes)
2012-01-29 08:44:23 [17082] [12] DEBUG: Thread 12 
(gw/bb_boxc.c:wdp_to_wapboxes) maps to pid 17082.
2012-01-29 08:44:23 [17082] [11] DEBUG: Thread 11 (gw/bb_udp.c:udp_sender) maps 
to pid 17082.
2012-01-29 08:44:23 [17082] [0] DEBUG: Started thread 13 
(gw/bb_boxc.c:wapboxc_run)
2012-01-29 08:44:23 [17082] [0] DEBUG: starting WDP router
2012-01-29 08:44:23 [17082] [0] DEBUG: Started thread 14 
(gw/bearerbox.c:wdp_router)
2012-01-29 08:44:23 [17082] [14] DEBUG: Thread 14 (gw/bearerbox.c:wdp_router) 
maps to pid 17082.
2012-01-29 08:44:23 [17082] [0] INFO: ----------------------------------------
2012-01-29 08:44:23 [17082] [0] INFO: Kannel bearerbox II version 1.5.0 starting
2012-01-29 08:44:23 [17082] [0] INFO: MAIN: Start-up done, entering mainloop
2012-01-29 08:44:23 [17082] [0] DEBUG: AT2[mysmsc]: start called
2012-01-29 08:44:23 [17082] [13] DEBUG: Thread 13 (gw/bb_boxc.c:wapboxc_run) 
maps to pid 17082.
2012-01-29 08:44:24 [17082] [6] DEBUG: AT2[mysmsc]: device opened
2012-01-29 08:44:24 [17082] [6] INFO: AT2[mysmsc]: speed set to 115200
2012-01-29 08:44:24 [17082] [6] DEBUG: AT2[mysmsc]: --> ^M
2012-01-29 08:44:26 [17082] [6] DEBUG: AT2[mysmsc]: --> AT^M
2012-01-29 08:44:26 [17082] [6] DEBUG: AT2[mysmsc]: <-- OK
2012-01-29 08:44:26 [17082] [6] INFO: AT2[mysmsc]: Closing device
2012-01-29 08:44:26 [17082] [6] INFO: AT2[mysmsc]: detect speed is 115200
2012-01-29 08:44:26 [17082] [6] DEBUG: AT2[mysmsc]: detecting modem type
2012-01-29 08:44:26 [17082] [6] INFO: AT2[mysmsc]: opening device
2012-01-29 08:44:26 [17082] [6] DEBUG: AT2[mysmsc]: device opened. Telnet mode 
= 0
2012-01-29 08:44:27 [17082] [6] DEBUG: AT2[mysmsc]: device opened
2012-01-29 08:44:27 [17082] [6] INFO: AT2[mysmsc]: speed set to 115200
2012-01-29 08:44:27 [17082] [6] DEBUG: AT2[mysmsc]: --> ATZ^M
2012-01-29 08:44:27 [17082] [6] DEBUG: AT2[mysmsc]: <-- OK
2012-01-29 08:44:27 [17082] [6] DEBUG: AT2[mysmsc]: --> AT^M
2012-01-29 08:44:27 [17082] [6] DEBUG: AT2[mysmsc]: <-- AT
2012-01-29 08:44:27 [17082] [6] DEBUG: AT2[mysmsc]: <-- OK
2012-01-29 08:44:27 [17082] [6] DEBUG: AT2[mysmsc]: --> ^M
2012-01-29 08:44:29 [17082] [6] DEBUG: AT2[mysmsc]: --> AT^M
2012-01-29 08:44:29 [17082] [6] DEBUG: AT2[mysmsc]: <-- AT
2012-01-29 08:44:29 [17082] [6] DEBUG: AT2[mysmsc]: <-- OK
2012-01-29 08:44:29 [17082] [6] DEBUG: AT2[mysmsc]: --> AT&F^M
2012-01-29 08:44:29 [17082] [6] DEBUG: AT2[mysmsc]: <-- AT&F
2012-01-29 08:44:29 [17082] [6] DEBUG: AT2[mysmsc]: <-- OK
2012-01-29 08:44:29 [17082] [6] DEBUG: AT2[mysmsc]: --> ATE0^M
2012-01-29 08:44:30 [17082] [6] DEBUG: AT2[mysmsc]: <-- ATE0
2012-01-29 08:44:30 [17082] [6] DEBUG: AT2[mysmsc]: <-- OK
2012-01-29 08:44:30 [17082] [6] DEBUG: AT2[mysmsc]: --> ATI^M
2012-01-29 08:44:30 [17082] [6] DEBUG: AT2[mysmsc]: <-- OK
2012-01-29 08:44:30 [17082] [6] DEBUG: Loading include file `modems.conf' (on 
line 362 of file smskannel1.conf).
2012-01-29 08:44:30 [17082] [6] DEBUG: AT2[mysmsc]: found string <huawei>, 
using modem definition <huawei>
2012-01-29 08:44:30 [17082] [6] DEBUG: AT2[mysmsc]: --> AT+CSMS=?^M
2012-01-29 08:44:30 [17082] [6] DEBUG: AT2[mysmsc]: <-- +CSMS: (0-1)
2012-01-29 08:44:30 [17082] [6] DEBUG: AT2[mysmsc]: <-- OK
2012-01-29 08:44:30 [17082] [6] INFO: AT2[mysmsc]: Closing device
2012-01-29 08:44:30 [17082] [6] INFO: AT2[mysmsc]: opening device
2012-01-29 08:44:30 [17082] [6] DEBUG: AT2[mysmsc]: device opened. Telnet mode 
= 0
2012-01-29 08:44:30 [17082] [6] DEBUG: AT2[mysmsc]: device opened
2012-01-29 08:44:30 [17082] [6] INFO: AT2[mysmsc]: Logging in
2012-01-29 08:44:31 [17082] [6] INFO: AT2[mysmsc]: init device
2012-01-29 08:44:31 [17082] [6] INFO: AT2[mysmsc]: speed set to 115200
2012-01-29 08:44:31 [17082] [6] DEBUG: AT2[mysmsc]: --> ATZ^M
2012-01-29 08:44:31 [17082] [6] DEBUG: AT2[mysmsc]: <-- OK
2012-01-29 08:44:31 [17082] [6] DEBUG: AT2[mysmsc]: --> AT^M
2012-01-29 08:44:31 [17082] [6] DEBUG: AT2[mysmsc]: <-- AT
2012-01-29 08:44:31 [17082] [6] DEBUG: AT2[mysmsc]: <-- OK
2012-01-29 08:44:31 [17082] [6] DEBUG: AT2[mysmsc]: --> AT&F^M
2012-01-29 08:44:31 [17082] [6] DEBUG: AT2[mysmsc]: <-- AT&F
2012-01-29 08:44:31 [17082] [6] DEBUG: AT2[mysmsc]: <-- OK
2012-01-29 08:44:31 [17082] [6] DEBUG: AT2[mysmsc]: --> ATE0^M
2012-01-29 08:44:31 [17082] [6] DEBUG: AT2[mysmsc]: <-- ATE0
2012-01-29 08:44:31 [17082] [6] DEBUG: AT2[mysmsc]: <-- OK
2012-01-29 08:44:31 [17082] [6] DEBUG: AT2[mysmsc]: --> AT+IFC=2,2^M
2012-01-29 08:44:31 [17082] [6] DEBUG: AT2[mysmsc]: <-- OK
2012-01-29 08:44:31 [17082] [6] DEBUG: AT2[mysmsc]: --> AT+CPIN?^M
2012-01-29 08:44:31 [17082] [6] DEBUG: AT2[mysmsc]: <-- +CPIN: READY
2012-01-29 08:44:31 [17082] [6] DEBUG: AT2[mysmsc]: --> AT+CSCA="+xxxxxxxxxxx"^M
2012-01-29 08:44:31 [17082] [6] DEBUG: AT2[mysmsc]: <-- OK
2012-01-29 08:44:31 [17082] [6] DEBUG: AT2[mysmsc]: --> AT+CMGF=0^M
2012-01-29 08:44:32 [17082] [6] DEBUG: AT2[mysmsc]: <-- OK
2012-01-29 08:44:32 [17082] [6] DEBUG: AT2[mysmsc]: --> AT+CSMS=?^M
2012-01-29 08:44:32 [17082] [6] DEBUG: AT2[mysmsc]: <-- OK
2012-01-29 08:44:32 [17082] [6] DEBUG: AT2[mysmsc]: --> 
AT+CNMI=2,1,0,2,0;+CMEE=1^M
2012-01-29 08:44:32 [17082] [6] DEBUG: AT2[mysmsc]: <-- +CSMS: (0-1)
2012-01-29 08:44:32 [17082] [6] DEBUG: AT2[mysmsc]: <-- OK
2012-01-29 08:44:32 [17082] [6] DEBUG: AT2[mysmsc]: --> AT+CPMS="SM"^M
2012-01-29 08:44:32 [17082] [6] DEBUG: AT2[mysmsc]: <-- OK
2012-01-29 08:44:32 [17082] [6] INFO: AT2[mysmsc]: AT SMSC successfully opened.
2012-01-29 08:44:32 [17082] [6] DEBUG: AT2[mysmsc]: <-- +CPMS: 0,50,0,50,0,50
2012-01-29 08:44:32 [17082] [6] DEBUG: AT2[mysmsc]: <-- OK
2012-01-29 08:44:32 [17082] [6] DEBUG: AT2[mysmsc]: --> AT+CPMS?^M
2012-01-29 08:44:32 [17082] [6] DEBUG: AT2[mysmsc]: <-- +CPMS: 
"SM",0,50,"SM",0,50,"SM",0,50
2012-01-29 08:44:32 [17082] [6] DEBUG: AT2[mysmsc]: <-- OK
2012-01-29 08:44:39 [17082] [5] INFO: Client connected from <127.0.0.1> 
2012-01-29 08:44:39 [17082] [5] DEBUG: Started thread 15 (gw/bb_boxc.c:function)
2012-01-29 08:44:39 [17082] [15] DEBUG: Thread 15 (gw/bb_boxc.c:function) maps 
to pid 17082.
2012-01-29 08:44:39 [17082] [15] DEBUG: Started thread 16 
(gw/bb_boxc.c:boxc_sender)
2012-01-29 08:44:39 [17082] [15] DEBUG: boxc_receiver: got boxc_id <mysmsbox> 
from <127.0.0.1>
2012-01-29 08:44:39 [17082] [16] DEBUG: Thread 16 (gw/bb_boxc.c:boxc_sender) 
maps to pid 17082.
2012-01-29 08:44:46 [17082] [5] INFO: Client connected from <127.0.0.1> 
2012-01-29 08:44:46 [17082] [5] DEBUG: Started thread 17 (gw/bb_boxc.c:function)
2012-01-29 08:44:46 [17082] [17] DEBUG: Thread 17 (gw/bb_boxc.c:function) maps 
to pid 17082.
2012-01-29 08:44:46 [17082] [17] DEBUG: Started thread 18 
(gw/bb_boxc.c:boxc_sender)
2012-01-29 08:44:46 [17082] [17] DEBUG: boxc_receiver: got boxc_id <mysmsbox> 
from <127.0.0.1>
2012-01-29 08:44:46 [17082] [18] DEBUG: Thread 18 (gw/bb_boxc.c:boxc_sender) 
maps to pid 17082.
2012-01-29 08:45:34 [17082] [6] DEBUG: AT2[mysmsc]: --> AT+CPMS?^M
2012-01-29 08:45:34 [17082] [6] DEBUG: AT2[mysmsc]: <-- +CPMS: 
"SM",0,50,"SM",0,50,"SM",0,50
2012-01-29 08:45:34 [17082] [6] DEBUG: AT2[mysmsc]: <-- OK
2012-01-29 08:46:36 [17082] [6] DEBUG: AT2[mysmsc]: --> AT+CPMS?^M
2012-01-29 08:46:36 [17082] [6] DEBUG: AT2[mysmsc]: <-- +CPMS: 
"SM",0,50,"SM",0,50,"SM",0,50
2012-01-29 08:46:36 [17082] [6] DEBUG: AT2[mysmsc]: <-- OK
2012-01-29 08:47:38 [17082] [6] DEBUG: AT2[mysmsc]: --> AT+CPMS?^M
2012-01-29 08:47:38 [17082] [6] DEBUG: AT2[mysmsc]: <-- +CPMS: 
"SM",1,50,"SM",1,50,"SM",1,50
2012-01-29 08:47:38 [17082] [6] DEBUG: AT2[mysmsc]: <-- OK
2012-01-29 08:47:38 [17082] [6] DEBUG: AT2[mysmsc]: 1 messages waiting in memory
2012-01-29 08:47:38 [17082] [6] DEBUG: AT2[mysmsc]: --> AT+CMGR=0^M
2012-01-29 08:47:39 [17082] [6] DEBUG: AT2[mysmsc]: <-- +CMGR: 0,,30
2012-01-29 08:47:39 [17082] [6] DEBUG: AT2[mysmsc]: <-- 
0791527609000021040C915276091834820000211092808400210C80B23D8C06C9CB6172FE07
2012-01-29 08:47:39 [17082] [6] DEBUG: AT2[mysmsc]: received message from SMSC: 
+xxxxxxxxxxxx
2012-01-29 08:47:39 [17082] [6] DEBUG: AT2[mysmsc]: Numeric sender 
(international) <+yyyyyyyyyyyy>
2012-01-29 08:47:39 [17082] [6] DEBUG: AT2[mysmsc]: User data length read as 
(12)
2012-01-29 08:47:39 [17082] [6] DEBUG: AT2[mysmsc]: Udh decoding done len=12 
udhi=0 udhlen=0 udh=''
2012-01-29 08:47:39 [17082] [16] DEBUG: send_msg: sending msg to boxc: 
<mysmsbox>
2012-01-29 08:47:39 [17082] [16] DEBUG: boxc_sender: sent message to <127.0.0.1>
2012-01-29 08:47:39 [17082] [6] DEBUG: AT2[mysmsc]: <-- OK
2012-01-29 08:47:39 [17082] [6] DEBUG: AT2[mysmsc]: --> AT+CMGD=0^M
2012-01-29 08:47:39 [17082] [15] DEBUG: boxc_receiver: got ack
2012-01-29 08:47:39 [17082] [6] DEBUG: AT2[mysmsc]: <-- OK



sqlbox log
=====================================================================================
2012-01-29 08:44:39 [17117] [0] INFO: Starting to log to file 
/tmp/kannel-sqlbox.log level 0
2012-01-29 08:44:39 [17117] [0] INFO: Added logfile `/tmp/kannel-sqlbox.log' 
with level `0'.
2012-01-29 08:44:39 [17117] [0] INFO: MYSQL: Connected to server at localhost.
2012-01-29 08:44:39 [17117] [0] INFO: MYSQL: server version 5.5.16-log, client 
version 5.5.16.
2012-01-29 08:44:39 [17117] [0] INFO: MYSQL: Connected to server at localhost.
2012-01-29 08:44:39 [17117] [0] INFO: MYSQL: server version 5.5.16-log, client 
version 5.5.16.
2012-01-29 08:44:39 [17117] [0] INFO: MYSQL: Connected to server at localhost.
2012-01-29 08:44:39 [17117] [0] INFO: MYSQL: server version 5.5.16-log, client 
version 5.5.16.
2012-01-29 08:44:39 [17117] [0] INFO: MYSQL: Connected to server at localhost.
2012-01-29 08:44:39 [17117] [0] INFO: MYSQL: server version 5.5.16-log, client 
version 5.5.16.
2012-01-29 08:44:39 [17117] [0] INFO: MYSQL: Connected to server at localhost.
2012-01-29 08:44:39 [17117] [0] INFO: MYSQL: server version 5.5.16-log, client 
version 5.5.16.
2012-01-29 08:44:39 [17117] [0] INFO: MYSQL: Connected to server at localhost.
2012-01-29 08:44:39 [17117] [0] INFO: MYSQL: server version 5.5.16-log, client 
version 5.5.16.
2012-01-29 08:44:39 [17117] [0] INFO: MYSQL: Connected to server at localhost.
2012-01-29 08:44:39 [17117] [0] INFO: MYSQL: server version 5.5.16-log, client 
version 5.5.16.
2012-01-29 08:44:39 [17117] [0] INFO: MYSQL: Connected to server at localhost.
2012-01-29 08:44:39 [17117] [0] INFO: MYSQL: server version 5.5.16-log, client 
version 5.5.16.
2012-01-29 08:44:39 [17117] [0] INFO: MYSQL: Connected to server at localhost.
2012-01-29 08:44:39 [17117] [0] INFO: MYSQL: server version 5.5.16-log, client 
version 5.5.16.
2012-01-29 08:44:39 [17117] [0] INFO: MYSQL: Connected to server at localhost.
2012-01-29 08:44:39 [17117] [0] INFO: MYSQL: server version 5.5.16-log, client 
version 5.5.16.
2012-01-29 08:44:39 [17117] [0] DEBUG: Started thread 1 
(sqlbox.c:sql_to_bearerbox)
2012-01-29 08:44:39 [17117] [1] DEBUG: Thread 1 (sqlbox.c:sql_to_bearerbox) 
maps to pid 17117.
2012-01-29 08:44:39 [17117] [1] DEBUG: Connecting to <127.0.0.1>
2012-01-29 08:44:39 [17117] [1] INFO: Connected to bearerbox at localhost port 
13001.
2012-01-29 08:44:39 [17117] [1] DEBUG: Started thread 2 
(sqlbox.c:bearerbox_to_sql)
2012-01-29 08:44:39 [17117] [2] DEBUG: Thread 2 (sqlbox.c:bearerbox_to_sql) 
maps to pid 17117.
2012-01-29 08:44:46 [17117] [0] DEBUG: Started thread 3 (sqlbox.c:function)
2012-01-29 08:44:46 [17117] [3] DEBUG: Thread 3 (sqlbox.c:function) maps to pid 
17117.
2012-01-29 08:44:46 [17117] [3] INFO: Client connected from <127.0.0.1>
2012-01-29 08:44:46 [17117] [3] DEBUG: Connecting to <127.0.0.1>
2012-01-29 08:44:46 [17117] [3] INFO: Connected to bearerbox at localhost port 
13001.
2012-01-29 08:44:46 [17117] [3] DEBUG: Started thread 4 
(sqlbox.c:bearerbox_to_smsbox)
2012-01-29 08:44:46 [17117] [3] DEBUG: smsbox_to_bearerbox: got boxc_id 
<mysmsbox> from <127.0.0.1>
2012-01-29 08:44:46 [17117] [4] DEBUG: Thread 4 (sqlbox.c:bearerbox_to_smsbox) 
maps to pid 17117.



smsbox log
=====================================================================================
2012-01-29 08:44:46 [17138] [0] INFO: Starting to log to file /tmp/smsbox.log 
level 0
2012-01-29 08:44:46 [17138] [0] INFO: Added logfile `/tmp/smsbox.log' with 
level `0'.
2012-01-29 08:44:46 [17138] [0] INFO: Service global sender set as 
'+zzzzzzzzzzzz'
2012-01-29 08:44:46 [17138] [0] INFO: Logging accesses to 
'/tmp/smsbox-access.log'.
2012-01-29 08:44:46 [17138] [0] INFO: Started access logfile 
`/tmp/smsbox-access.log'.
2012-01-29 08:44:46 [17138] [0] INFO: HTTP: Opening server at port 13013.
2012-01-29 08:44:46 [17138] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2012-01-29 08:44:46 [17138] [0] DEBUG: Started thread 2 
(gwlib/http.c:server_thread)
2012-01-29 08:44:46 [17138] [0] INFO: Set up send sms service at port 13013
2012-01-29 08:44:46 [17138] [0] DEBUG: Started thread 3 
(gw/smsbox.c:sendsms_thread)
2012-01-29 08:44:46 [17138] [0] INFO: Using HTTP request queueing with 3 
retries, 15s delay.
2012-01-29 08:44:46 [17138] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) 
maps to pid 17138.
2012-01-29 08:44:46 [17138] [0] DEBUG: 
----------------------------------------------
2012-01-29 08:44:46 [17138] [0] DEBUG: Kannel smsbox version 1.5.0 starting
2012-01-29 08:44:46 [17138] [0] DEBUG:   dumping group (sendsms-user):
2012-01-29 08:44:46 [17138] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to 
pid 17138.
2012-01-29 08:44:46 [17138] [0] DEBUG:     <group> = <sendsms-user>
2012-01-29 08:44:46 [17138] [0] DEBUG:     <dlr-url> = 
<http://localhost/dlr.php?dlr-mask=31&status=%d&source=%p&destination=%P&smscid=%i&report=%A&smsmsg=%a&keywd=%k&server_date=%T&ts=%t&kannelId=%I&slid=%t&smsservice=%n>
2012-01-29 08:44:46 [17138] [0] DEBUG:     <max-messages> = <10>
2012-01-29 08:44:46 [17138] [0] DEBUG:     <username> = <tester>
2012-01-29 08:44:46 [17138] [0] DEBUG:     <concatenation> = <true>
2012-01-29 08:44:46 [17138] [0] DEBUG:     <password> = <foobar>
2012-01-29 08:44:46 [17138] [0] DEBUG: Started thread 4 
(gw/smsbox.c:obey_request_thread)
2012-01-29 08:44:46 [17138] [4] DEBUG: Thread 4 
(gw/smsbox.c:obey_request_thread) maps to pid 17138.
2012-01-29 08:44:46 [17138] [0] DEBUG: Started thread 5 
(gw/smsbox.c:url_result_thread)
2012-01-29 08:44:46 [17138] [0] DEBUG: Started thread 6 
(gw/smsbox.c:http_queue_thread)
2012-01-29 08:44:46 [17138] [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) 
maps to pid 17138.
2012-01-29 08:44:46 [17138] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) 
maps to pid 17138.
2012-01-29 08:44:46 [17138] [2] DEBUG: HTTP: Including port 13013, fd 8 for 
polling in server thread
2012-01-29 08:44:46 [17138] [0] DEBUG: Connecting to <127.0.0.1>
2012-01-29 08:44:46 [17138] [0] INFO: Connected to bearerbox at localhost port 
13003.
2012-01-29 08:44:46 [17138] [0] DEBUG: Started thread 7 
(gw/heartbeat.c:heartbeat_thread)
2012-01-29 08:44:46 [17138] [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) 
maps to pid 17138.
2012-01-29 08:44:46 [17138] [7] DEBUG: Thread 7 
(gw/heartbeat.c:heartbeat_thread) maps to pid 17138.

Reply via email to