Re: got DLR but could not find message or was not interested in it

Alan McNatty <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi Wayne,

As Andreas suggest check the pdu dumps - you might be receiving a
deliver_sm esm_class of 0x01 which from SMPP specs is 'SMSC Delivery
Receipt' which should be included (I have it in mine). Test with
attached patch...

cheers,
Alan

On Tue, 2003-01-07 at 00:11, Wayne wrote:
> Remember this one ?
> 
> got DLR but could not find message or was not interested in it
> 
> 
> I'm getting this for messages received from CMDA handsets, regardless of
> DLR requested or not. 
> The only diff in PDU from GSM based is the class is 2 instead of null.
> 
> I've tried setting msg-id-type to 0,1,2 & 3 in various cvs versions (
> latest being 3 weeks old )
> 
> No luck.
> 
> Any ideas ?
> 
> Regards
> 
> Wayne Smithers
> 5th Finger Pty Ltd
> 
-- 
Alan McNatty <[email protected]>
smsc_smpp.c-patch (text/x-patch, 387 B)
Index: gw/smsc/smsc_smpp.c
===================================================================
RCS file: /home/cvs/gateway/gw/smsc/smsc_smpp.c,v
retrieving revision 1.22
diff -r1.22 smsc_smpp.c
710c710,711
<             if ((pdu->u.deliver_sm.esm_class == 0x02 || 
---
>             if ((pdu->u.deliver_sm.esm_class == 0x01 || 
>                  pdu->u.deliver_sm.esm_class == 0x02 ||
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.