Hello,
I’m configuring Kannel , and I got a problem with receiving TLV fields , as in description is written they should appear at the meta data field. I see that bearbox receives all data correctly but then in request and in the database field is Null. Where could be the problem? I correctly pass tlv fields in submits and they are written to database. Got problem with MO messages(Deliver_SM).
I need an advice where could be the problem , I’ve tried many things but still don’t have MO meta data in Database or HTTP request in meta data field.
3 boxes up Bearbox smsbox sqlbox
meta_data: NULL
my sendsms is:
The LOGS:
Bearbox:
2012-02-02 14:03:14 Receive SMS [xxxxxxxxxxxxxxxxxxxxx] [SVC:] [ACT:2xxxxxxxxxxx] [BINF:] [FID:] [META:?smpp?rut_message_id=55873&rut_created_ts=20120202140502&] [from:+45633463463] [to:alfa] [flags:0:2:-1:0:-1] [msg:10:00480065006C006C006F] [udh:0:]
SMSbox:
Path: /cgi-bin/dlr3.php
2012-02-02 14:11:17 [18097] [9] DEBUG: Query: dlr-mask=31&status=8&source=45633463463&destination=alfa&meta-data="">
2012-02-02 14:11:17 [18097] [9] DEBUG: Fragment: (null)
…
..
HTTP: Queue contains 1 outstanding requests
2012-02-02 14:11:17 [18097] [6] DEBUG: HTTP: Retrying request <http://xxxxxx/cgi-bin/dlr3.php?dlr-mask=31&status=8&sourc
e=45633463463&destination=alfa&meta-data="">
> (5/10)
Configuration:
group = smsc
smsc = smpp
system-type = "VAS"
interface-version = 34
throughput = 25
host = xxx
port = xxx
transceiver-mode = 1
smsc-username = xxx
smsc-password = xxx
#my-number = "sender-prefix"
enquire-link-interval = 60
source-addr-autodetect = false
source-addr-ton = 5
source-addr-npi = 0
dest-addr-ton = 1
dest-addr-npi = 0
msg-id-type = 0x03
log-file = "/var/log/kannel/operator.log"
log-level = 0
group = core
admin-port = 13000
admin-password = xxx
admin-deny-ip = "*.*.*.*"
admin-allow-ip = ""
box-deny-ip = "*.*.*.*"
box-allow-ip = "ip..."
log-file = "/var/log/kannel/bearerbox.log"
access-log = "/var/log/kannel/access.log"
log-level = 0
dlr-storage = mysql
unified-prefix = "+371"
smsbox-port = 13001
include = "/etc/kannel/tlv.conf"
include = "/etc/kannel/dlr.conf"
include = "/etc/kannel/smpp-smsc.conf"
include = "/etc/kannel/smsbox.conf"
group = smsbox-route
smsbox-id = "SMS_Box;MySQL_Box"
include = "/etc/kannel/sendsms-users.conf"
include = "/etc/kannel/sms-service.conf"
group = smsbox
smsbox-id = SMS_Box
#smsbox-port = 13014
bearerbox-host = 127.0.0.1
bearerbox-port = 13002
sendsms-port = 13013
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
access-log = "/var/log/kannel/sms-access.log"
sendsms-chars = "0123456789"
http-request-retry = 10
http-queue-delay = 60
max-pending-requests = 10
#mo-recode = no
mo-recode = true
group = sendsms-user
username = sender
password = trup
max-messages = 1
concatenation = true
dlr-url = ""http://127.0.0.1/cgi-bin/dlr2.pl?from=%P&to=%p&meta-data="">http://127.0.0.1/cgi-bin/dlr2.pl?from=%P&to=%p&meta-data="">"
group = sms-service
keyword = default
text = "No services defined"
catch-all = true
accept-x-kannel-headers = true
post-url = ""http://localhost/cgi-bin/dlr2.pl?from=%P&to=%p&smsc=%i&dlr-type=%d&text=%a&meta-data="">http://localhost/cgi-bin/dlr2.pl?from=%P&to=%p&smsc=%i&dlr-type=%d&text=%a&meta-data="">"
group = sqlbox
id = sqlbox-db
smsbox-id = MySQL_Box
global-sender = "alfa"
bearerbox-host = 127.0.0.1
bearerbox-port = 13001
smsbox-port = 13002
smsbox-port-ssl = false
sql-log-table = sent_sms
sql-insert-table = send_sms
log-file = "/var/log/kannel/sqlbox.log"
log-level = 0
group = mysql-connection
id = sqlbox-db
host = localhost
username =
password =
database =
max-connections = 3
