Hrm, I don't see the smpp-tlv group in there, is it on one of the includes?

Put the smsc on log-level 0 and see if you can get any relevant log lines
from there.

Regards,

Alex

On Thu, Feb 2, 2012 at 7:28 AM, <kova...@apollo.lv> wrote:

> 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:
>
>
> http://localhost:13013/cgi-bin/sendsms?username=sender&password=trup&from=alfa&to=45633463463%&meta-data=%3Fsmpp%3Frut_tariff_class%3D171&mclass=0&charset=utf-8&coding=2&text=Hello&dlr-mask=31&dlr-url=http%3a%2f%2flocalhost%2fcgi-bin%2fdlr3.php%3fdlr-mask%3d31%26status%3d%25d%26source%3d%25p%26destination%3d%25P%26meta-data%3d%25D%0d%0a
>
> **** **
>
> 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=%D&smsc=%i&dlr-type=%d&text=%a&dcs=%O
> "
>
> 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=%D
> "
>
> 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
>
>
>
>

Reply via email to