Question regarding DLR

"Stefan Haubold" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hello,

i have a question regarding DLR with MySQL Storage. We are using Kannel
1.3.1 but the Problem is also in 1.3.2 (i checked the cvs)

If i get everything right, the SELECT for finding a Delivery Notification
checks for SMSC-ID and TS.
Isn't that a Problem, if Kannel is working on "Fullspeed"?
For example if Kannel send 6 SMS per Second over one SMSC you get 6 DLR
Entries with the same SMSC-ID and the same TS. If all those 6 SMS are
delivered/accepted Right, all DLR will be handled and it looks as everything
is ok. If one SMS can't delivered or is delayed Kannel isn't able to mark
the right SMS of those 6 SMS since the SELECT isn't deterministic it will
return any of that 6 SMS.

I checked through the Source a few times but haven't found any clue if there
is something i miss.

I patched Kannel to add DESTINATION to the WHERE clause of that SELECT. But
this isn't perfect too, since sending Multipart SMS could  leave also more
then 1 SMS with equal SMSC,TS and Destination. I think that this is an
acceptable risk since if all go ok its fine, if one gets lost the hole
Multipart SMS is lost.

So please tell me if i miss anything. If not, maybe you should consider
adding that Patch to the Source Tree.

Kind Regards

Mit freundlichen Grüßen
YOC AG

--------------------------------
Stefan Haubold

YOC AG
Dircksenstr. 47
10178 Berlin / Germany
Tel: +49-30 72 61 62-401
Fax: +49-30 72 61 62-222

mail to: [email protected]
visit us at: www.yoc.de / www.yoc-ag.de
Login mit Alter und Geschlecht per SMS unter 72768

yoc - dein wille geschehe.
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.