Re: Deliver_SM with null fields

2012-02-17 Thread kovalov
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

Re: Deliver_SM with null fields

2012-02-17 Thread Milan P. Stanic
On Fri, 2012-02-17 at 13:07, kova...@apollo.lv wrote: 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

Re: Deliver_SM with null fields

2012-02-16 Thread Milan P. Stanic
On Thu, 2012-02-16 at 08:56, kova...@apollo.lv wrote: 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

Re: Deliver_SM with null fields

2012-02-16 Thread kovalov
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

Re: Deliver_SM with null fields

2012-02-16 Thread Milan P. Stanic
[ A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Maybe because some people are too annoyed by top-posting. Q: Why do I not get an answer to my question(s)? ] On Thu, 2012-02-16 at 14:05, kova...@apollo.lv wrote: Config:

Re: Deliver_SM with null fields

2012-02-15 Thread Milan P. Stanic
On Wed, 2012-02-15 at 08:45, kova...@apollo.lv wrote: 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

Re: Deliver_SM with null fields

2012-02-15 Thread kovalov
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

Re: Deliver_SM with null fields

2012-02-14 Thread kovalov
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

Re: Deliver_SM with null fields

2012-02-14 Thread Milan P. Stanic
On Tue, 2012-02-14 at 16:04, kova...@apollo.lv wrote: 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

Re: Deliver_SM with null fields

2012-02-14 Thread kovalov
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

Re: Deliver_SM with null fields

2012-02-14 Thread kovalov
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

Re: Deliver_SM with null fields

2012-02-10 Thread kovalov
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

Re: Deliver_SM with null fields

2012-02-10 Thread Milan P. Stanic
On Fri, 2012-02-10 at 15:24, kova...@apollo.lv wrote: 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

Deliver_SM with null fields

2012-02-07 Thread kovalov
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