himanshusao / smppclient

Automatically exported from code.google.com/p/smppclient
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

org.bulatnig.smpp.pdu.PduException: TLV parsing failed. Malformed PDU #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.send msges in bulk to SMSC 
2.create multiple instances of SMPP client

What is the expected output? What do you see instead?
Ans : i want send sms in bulk but when i try to do that it gives PDU exception, 
although  when i send only one message it successfully sends it . 

What version of the product are you using? On what operating system?
0.6 jar operating system in Windows

Original issue reported on code.google.com by faruk.ar...@gmail.com on 23 Mar 2013 at 9:38

Attachments:

GoogleCodeExporter commented 9 years ago
Let's look at Exception. It complains on malformed TLV part. Let's parse PDU by 
hand.

00000150 80000004 0000000d 00000003 - Mandatory PDU header. I see this is 
SUBMIT_SM_RESP message with total length 336 and ESME_RBINDFAIL status
00 - SMSC message ID. It's zero cause failed status
0428 0001 03 - first TLV (your SMSC Vendor specific)
001d 0001 35 - second TLV, additional_status_info_text type

Everything that goes next don't conform to TLV format, cause when we start to 
parse it we get, that TLV tag equals to 0x4552 and TLV length equals to 0x524f, 
what is obviously wrong.

It you find any mistakes in my logic, feel free to argue me.

Original comment by bulat...@gmail.com on 28 Mar 2013 at 4:17

GoogleCodeExporter commented 9 years ago
thanx for the reply ....yes i got your point thanx :)  can i have your  email 
id sir ??

Original comment by faruk.ar...@gmail.com on 28 Mar 2013 at 6:21

GoogleCodeExporter commented 9 years ago
Click on bug owner, fill captcha and write me any time you have question.

Original comment by bulat...@gmail.com on 28 Mar 2013 at 6:50