Hi,
Kannel doesn’t support TLV in Response. I needed to add those TLV fields to smpp_pdu_def file, then implement logic go parse new fields in kannel and add a dlr for this response. So now I have a dlr in database with all TLV information.
So I get new field like: pdu-u.submit_sm_resp.my_tlv
and
Config:group = sendsms-userusername = xpassword = xmax-messages = 1concatenation = truedlr-url = ""http://xxx/cgi-bin/dlr2.pl?from=%Pto=%pmeta-data="">http://xxx/cgi-bin/dlr2.pl?from=%Pto=%pmeta-data="">"
SMSbox LOG:2012-02-16 11:11:12 [26814] [9] DEBUG: Scheme: http://2012-02-16 11:11:12
I use both, Database and GET method for my script. But I don’t see anywhere that TLV fields are parsed by bearbox, I think its logic stops on the command status and does not retrieve tlv fields in that case. I don’t see it in LOG files ether.
I’m right?
So I need to make a changes to kannel if
Hello,
I’ve done the changes to Kannel, it is working.
Got One more problem, when I tester error responses:
I don’t Get parsed Meta data from Negative Submit_SM_Resp, it isn’t parsed by bearbox, dlr gets written to database with error code from command status. So if I need to receive TLV metadata
Hello,
TLV options in config are set, example:
group = smpp-tlv
name = rut_addr
tag = 0x1510
type = octetstring
length = 20
About the error - I know what it means, I need to get tlv fields for this response. If I get this command status I need to write all tlv information into database for further
As an example of error in Database i receive: sql_id: 4462 momt: DLR sender: receiver: 2xxx udhdata: NULL msgdata: NACK%2F0x0453%2FVendor-specific+error%2C+please+refer+to+your+SMPP+provider time: 1329228303 smsc_id: SMPP: service: sender account: NULL id: NULLsms_type: 3
Hello,
I’m trying to change File /gw/smsc/smsc_smpp.c
Maybe anyone have stept in to such problem, and has an advice where to change the file will be better?
I need to receive Deliver SM with 0 fields, so I’m wondering if I catch Delivers With Null source address and change the data of those
Hi,
I’ve stept into a problem, Is it possible to handle Deliver_SM with empty fields except TLV fields?how?
I get an Error, that its Null, here is my LOG:2012-02-07 15:04:40 [12259] [6] DEBUG: Optional parameter tag (0x1506)2012-02-07 15:04:40 [12259] [6] DEBUG: Optional parameter length read as
Hi,
Any update on the case? I still don’t have any solution to solve the problem.
MO metadata is empty.
Maybe this warning will help:
WARNING: smsbox_list empty!
Regards Vit.
On Thu, 02 Feb 2012 15:41:04 +0200Hello,
I’m on debug lvl 0 , ill add the LOG example. TLV are defined in include file:
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
---BeginMessage---
Hello,
I’m on debug lvl 0 , ill add the LOG example. TLV are defined in include file:
Kannel.conf:
include = "/etc/kannel/tlv.conf"
tlv.conf:
group = smpp-tlv
name = rut_tariff_class
tag = 0x1503
type = integer
length = 2LOG:2012-02-02 14:03:14 [18084] [6] DEBUG: Optional
11 matches
Mail list logo