Dear Alex, The ts is the messageid for smpp. If you use the dlr table for internal Kannel storage, then the ts is stored in the dlr table until the SMS is delivered. Can't Kannel have another column in the dlr storage table called smsid? Then you will at least know which smsid corresponds to which messageid (ts) and if the SMS is not delivered you can look at that table and find the messageid of the SMS with the missing delivery receipt. You can then ask your SMS carrier what is going on. At present you have no way of referring to the SMSs that were not delivered, as you don't have their messageids.
Regards
