Hi All,
Please, help to solve the problem. I will apreciateeven a  hint.
When I send an sms and waiting for DLR, SMSC sends to me status "smsc 
submit". After that I get this message in my logs:

2013-08-07 08:19:45 [3228] [11] DEBUG: boxc_receiver: heartbeat with 
load value 0 received

Look at my configuration files kannel.conf and sqlbox.conf:
#KANNEL CONFIG FILE
group = core
admin-port = 13000
admin-password = ******
smsbox-port = 13001
log-file = /var/log/kannel/kannel.log
log-level = 0
access-log = /var/log/kannel/access_kannel.log
store-file = /var/log/kannel/store_sms
dlr-storage = mysql


group = smsc
smsc = smpp
smsc-id = craftmobile
host = 89.249.18.53
port = 27703
smsc-username = "******"
smsc-password = ******
system-type = "VMA"
log-file = "/var/log/kannel/smpp-smsc.log" log-level = 1
dest-addr-ton = 1
dest-addr-npi = 1
#alt-charset = "UCS-2"

group = smsbox
bearerbox-host = localhost
smsbox-id = mysmsbox
sendsms-port = 13013
log-file = "/var/log/kannel/smsbox.log"
log-level = 0

group = smsbox-route
smsbox-id = mysmsbox
smsc-id = craftmobile
#shortcode = 2288

group = sendsms-user
dlr-url =  "http://134.0.113.138/dlr.php?type=%d";
concatenation = true
max-messages = 5
username = ****
password = ******
default-smsc = SMSC

group = dlr-db
id = mydlr
table = oempro_kannel_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


group = mysql-connection
id = mydlr
host = localhost
username = ********
password = ******
database = sender
max-connections = 1

# ------ SQLBOX GROUP ------
group = sqlbox
id = sqlbox-db
smsbox-id = mysqlbox
bearerbox-port = 13001
smsbox-port = 13003
smsbox-port-ssl = false
sql-log-table = oempro_kannel_sqlbox_sent_sms
sql-insert-table = oempro_kannel_sqlbox_send_sms
log-file = "/var/log/kannel/sqlbox.log"
log-level = 3

group = mysql-connection
id = sqlbox-db
host = localhost
username = ********
password = **********
database = sender
max-connections = 1

query that I use for sending an SMS:

INSERT INTO oempro_kannel_sqlbox_send_sms (
  momt, sender, receiver, msgdata, sms_type, dlr_mask, dlr_url, boxc_id
) VALUES (
  'MT', '8902110****', '7925740****', 'Test message', 2, 31,
' 
http://134.0.113.138/dlr.php?smsc=%i&from=%P&to=%p&dlr-mask=%d&smsID=123456789 
', 
'mysmsbox'
);

Thanks!
Dorin.

Reply via email to