MazWoz / jsmpp

Automatically exported from code.google.com/p/jsmpp
Apache License 2.0
0 stars 0 forks source link

Bug: inbound sms not acknowledged to SMSC if text is blank - missing deliver_sm response #118

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. create a listener process using onAcceptDeliverSm
2. Inject a blank MO (message length = 0)
3. listener will receive the blank SMS, but jsmpp does not return a deliver_sm 
response to SMS-C

What is the expected output? What do you see instead?
jsmpp should respond to SMS-C with a deliver_sm response, the same way it 
responds when message is not blank.
This bug makes SMS-C retry delivery of blank SMS forever (until message 
expires) to jsmpp and jsmpp believes it is a new incoming MO, so generates 
hundreds of fake MO
You just need to dump smpp traffic with wireshark to check the bug

What version of the product are you using? On what operating system?
Linux Debian 6.0

Original issue reported on code.google.com by polaris1...@gmail.com on 7 Nov 2011 at 4:07