AFAIK, DLR's are NOT encoded on UDH. They are a quite different kind of beast, they are encoded on the PDU and delivered back on another PDU.
If you think it a little, it makes no sense at all: UDH data is expected to be sent to terminals, while DLR requests are meant to be dealt with on the SMSC: You are asking the _SMSC_, not the terminal that you want to be notified when a message was delivered (or not) to a terminal. How could a turned-off terminal notify you about a message not being delivered? ;) Try first to get DLR's to work with regular text messages (no concatenetion nor UDH being set). And then try with messages carrying an UDH... It 'should' work (note the single quotes meaning "it should, I've never tried it myself"), maybe there is some bug or something similar, but it is surely not a protocol limitation. BTW, except that you've really found out a bug or something similar, maybe we should follow the thread on the users list. Regards, On Wed, 2 Feb 2005 20:53:59 +1100, Benjamin Lee <[EMAIL PROTECTED]> wrote: > Er... I'm not sure if I understand the question... so if I'm answering > the wrong thing... please excuse... ;-))) > > Correct me if I'm wrong... but I thought DLR was specific to the SMSC > protocol. e.g. SMPP 3.4 Issue 1.2 p.124 / 5.2.17 registered_delivery > *not* in the UDH. > > So the value of dlr-mask *should* work. I haven't used this in a long > time... so I could be completely wrong... > > Looks OK for smsc_smpp.c: > > /* ask for the delivery reports if needed */ > if (DLR_IS_SUCCESS_OR_FAIL(msg->sms.dlr_mask)) > pdu->u.submit_sm.registered_delivery = 1; > else if (DLR_IS_FAIL(msg->sms.dlr_mask) && > !DLR_IS_SUCCESS(msg->sms.dlr_mask)) > pdu->u.submit_sm.registered_delivery = 2; > > What do you mean by "delivery tracking bits"? ;-P > > On Wednesday, 2005-02-02 at 01:16:09 AM, Enver ALTIN scribbled: > > Hi, > > > > Forwarding here with hope to find an answer :) > > > > Thanks, > > > > -------- Forwarded Message -------- > > From: Enver ALTIN <[EMAIL PROTECTED]> > > To: users@kannel.org > > Subject: Requesting DLR for binary messages > > Date: Mon, 31 Jan 2005 16:39:10 +0200 > > Hi, > > > > I'm developing an application which sends binary messages with UDH, and > > I'd love to add delivery tracking bits here and there. > > > > Seems like DLR-related stuff is transmitted in UDH, and that's what I'm > > overriding so Kannel's dlr-mask just doesn't seem to work. > > > > What can I do? What actually I'm looking for is a brief 10-lines > > explanation about that, which fields of UDH are used for what. Alex > > suggested me to take a look at ETSI 03.38 and 03.40, although they look > > a bit like Cyrillic to me ;) > > > > Any clues? > > > > Thanks a lot, > > -- > > Enver ALTIN | http://skyblue.gen.tr/ > > Software developer @ Parkyeri | http://www.parkyeri.com/ > > -- > Benjamin Lee > Melbourne, AU +61.4.16.BEN.LEE http://www.realthought.net/ > Open Source / Linux / BSD > __________________________________________________________________________ > Only a fool has no doubts. > > -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/