And what is wrong with that? Kannel will report every change in state as soon as the smsc reports back. The non delivery notification will be received upon expiration of the sms which depends on the validity period on the smsc or the expiration you might have set, whatever comes first.
Davor > On Aug 17, 2019, at 1:45 PM, Antony Stone > <antony.st...@kannel.open.source.it> wrote: > > Hi. > > I'm now wondering whether I've misunderstood how DLRs actually work. > > I just tried the following: > > 1. Make sure my mobile phone is turned on and has good signal. > > 2. Send a message via kannel to my mobile phone, with dlr_mask=31, indicating > that I want to get all status reports possible. > > 3. I immediately get back a DLR with status=8, which I interpret to mean that > the message has been received by the upstream SMSC and is being processed. > > 4. I then immediately afterwards get a DLR with status=1, which I interpret to > mean that the message has been delivered to my phone. > > 5. Sure enough, the message has arrived on my phone. > > > 6. Turn the phone off. > > 7. Repeat step 2 above. > > 8. I immediately get back a DLR with status=8, just as in step 3 above. > > 9. Nothing further happens - no surprise there. > > 10. I turn my phone back on again and wait until it has signal. > > 11. The second message arrives on my phone. > > 12. The bit which surprises me is that I do *not* now get a DLR through kannel > with status=1, so my application has no way of knowing that the message has > now been delivered. > > > Am I misunderstanding the meaning of status codes 8 and 1, or maybe > misunderstanding how DLRs are supposed to work with SMS? > > I'd be grateful for any comments helping me to understand why I do not get a > DLR status=1 after the second message has arrived on my phone. > > > Thanks, > > Antony. > > -- > "The future is already here. It's just not evenly distributed yet." > > - William Gibson > > Please reply to the list; > please *don't* CC me. > ________________________________ Disclaimer: one.Vip DOOEL Skopje This e-mail (including any attachments) is confidential and may be protected by legal privilege. If you are not the intended recipient, you should not copy it, re-transmit it, use it or disclose its contents, but should return it to the sender immediately and delete your copy from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. one.Vip DOOEL Skopje shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. Please, do not print this e-mail unless it is necessary! Think about saving the environment! Напомена: оне.Вип ДООЕЛ Скопје Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да биде заштитена со правни привилегии. Доколку не сте лицето на кое таа му е наменета пораката, не треба да ја копирате, дистрибуирате или да ја откривате нејзината содржина, туку веднаш да ја препратите до испраќачот и да ја избришете оригиналната порака и сите нејзини копии од Вашиот компјутерски систем. Секое неовластено користење на оваа порака во целост или делови од истата е строго забрането. Ве молиме да забележите дека електронските пораки се подложни на промени. оне.Вип ДООЕЛ Скопје не презема одговорност за несоодветно или нецелосно пренесување на информациите содржани во оваа комуникација, ниту пак за било какво задоцнување на приемот или оштетувања на вашиот систем. Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте ја природата!