Hello Saurabh, This has been answered many times in the mailing list which you can easily check via google search.
However sending you my comments again. While you are invoking sendsms url than in the dlr-url you can put a unique id of your database. So once delivery report comes back, kannel will hit your provided dlr-url which we will have your provided db id in it. Regards Tapan Thapa On Thu, Oct 11, 2012 at 11:30 AM, saurabh chandan < [email protected]> wrote: > HI, > > My sms g/w is working fine, but now i need to get delivery reports and > save them to my mysql DB. Problem is delivery reports come in dlr table and > get moved to sent_sms table once their status in known, but then i am not > able to identify that for which sms is this delivery report. I am also > using dlr-url and dlr-mask=31. > What i noticed that in smsc/smpp log, kannel is using message-id as ts > (timestamp) to log initial ack in dlr table and when proper status comes > again on smpp connection, it automatically finds that initial delivery > report using this message-id/ts and replaces this entry with the new one. > How can i retrieve this message-id so that i can myself process dlr? > OR > Is there any other method to know which dlr is for which sms(as we may > send sms to a single number multiple times in a day)? > > -- > -------------------------- > *Thanks & Regards, > Saurabh Chandan > > * > >
