Hi, As Jovan indicated, kannel has no control over when DLRs are received. This is asynchronous and depends on SMSc which generates them upon mobile availability. If you cannot process them real-time and cannot optimize your dlr-handler to do so, you need to implement a queue, assuming that you handler can process all dlrs within a certain period (i.e. 24 hrs) and your queue doesn't build up. As suggested by Jovan your queue might be a database or a flat file, or even in memory.
BR, Nikos ----- Original Message ----- From: Latitude Berlin To: Jovan Kostovski Cc: users Sent: Thursday, June 25, 2009 8:32 PM Subject: Re: instructing Kannel to send DLR after a defined interval From the question you are asking I assume that your dlr-url handler can not process all the DLRs that you are receiving and some get lost. Is this right? Yes,thats right. My DLR-handler is slow and I wish to slow down the DLR notifications. On Thu, Jun 25, 2009 at 6:53 PM, Jovan Kostovski <chomb...@gmail.com> wrote: On Thu, Jun 25, 2009 at 6:06 PM, Latitude Berlin<latitude...@googlemail.com> wrote: > Hi, > > I am getting DLRs for the sent sms messages. Is there a was to instruct > Kannel to send DLR for each after a defined interval? For example: send dlr > after 10 sec of sent sms. Kannel can not send DLRs. Kannel receives the DLRs depending on the defined dlr-mask when sending the message and calls the dlr-url. If I understand correctly you want kannel to buffer the DLR reports and send them on predefined interval of time. As far as I know kannel can not do that and personally I don't think that this is good behavior since prompt notifications for message status changes are very important. From the question you are asking I assume that your dlr-url handler can not process all the DLRs that you are receiving and some get lost. Is this right? One way to avoid this is to set your DLR handler just to read the data from the report and store the data to a database or a plain text file. Than another program which doesn't have to be very fast in data processing will read from the database/text file and will process the DLR data. HTH, Jovan