Dear Kannel Developers, I found a concurrency BUG in DLR Code.
2011-02-09 11:30:26 [29361] [27] DEBUG: DLR[mysql]: Looking for DLR smsc=mtn1, ts=1613732592, dst=989372474050, type=2 2011-02-09 11:30:26 [29361] [27] DEBUG: sql: SELECT mask, service, url, source, destination, boxc FROM dlr WHERE smsc='SMSC' AND ts='1613732592'; 2011-02-09 11:30:26 [29361] [27] ERROR: SMPP[SMSC]: got DLR but could not find message or was not interested in it id<1613732592> dst<DST>, type<2> 2011-02-09 11:30:26 [29361] [26] DEBUG: DLR[mysql]: Adding DLR smsc=SMSC, ts=1613732592, src=SRC, dst=DST, mask=31, boxc=13013 2011-02-09 11:30:26 [29361] [26] DEBUG: sql: INSERT INTO dlr (smsc, ts, source, destination, service, url, mask, boxc, status) VALUES (...); *dlr_find* method got calls before *dlr_add!* -- Sincerely, Sayed Hadi Rastgou Haghi
