SMPP bug?

Andreas Fink <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi folks,

I run into an issue that delivery reports from our SMSC are not correctly processed in Kannel. Instead of a delivery report, kannel shows a incoming SMS.
I think the culprit lies in the following code:

smsc_smpp.c line 1549

           if (pdu->u.deliver_sm.esm_class & (0x04|0x08|0x20)) {

                debug("bb.sms.smpp",0,"SMPP[%s] handle_pdu, got DLR",
                      octstr_get_cstr(smpp->conn->id));

According to SMPP 3.4 spec section 5.2.17 0x04 means Delivery, 0x08 means SME Manual/User Acknowledgment but value 0x20 is not defined. However value 0x10 would be Intermediate notification requested.


Now could it be that either someone uses 0x20 as reserved value for a specific purpose or simply its a typo and it should be 0x10.

Any comments?


Andreas Fink
SMSRelay AG
-----------------------------------------------------
Tel: +41-61-6666333 Fax: +41-61-6666331 
Mobile: +41 78 66 77 333
Address: Clarastrasse 3, 4058 Basel, Switzerland
E-Mail:  [email protected]
Homepage: http://www.smsrelay.com
-----------------------------------------------------
ICQ: 8239353 MSN: [email protected] Skype: andreasfink
iChat: [email protected] Yahoo: finkconsulting AIM: smsrelay
Global.AQ SMS: +88234 7000 00 12
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.