Thanks Tarun I got that.
----- Original Message ----- 
From: "Tarun Dua" <[EMAIL PROTECTED]>
To: "Amit Dang" <[EMAIL PROTECTED]>
Cc: "Navjot Singh" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, November 12, 2003 1:51 PM
Subject: Re: [SMPP] correlation btw deliver_sm and its delivery reciept


> On Wed, 2003-11-12 at 12:03, Amit Dang wrote:
> > No, My question is how to correlate between message submitted using
> > deliver_sm and delivery notification received for it.
> > Sequence Number is only used for correlation between request and
> > response not between message and its delivery notification.
> > I hope now you got my question.
> deliver_sm PDU contains the SMSC generated id for the message.
> Kannel does comparison for the SMSC-ID(Kannel) and the supposedly unique
> Timestamp(the message ID generated by the SMSC ). The SMSC-ID+Timestamp
> should obviously make a unique combination.
> 
> See dlr_find (and dlr_find_mem) method in dlr.c for understanding how
> this works.
> 
> What kannel does is adds this id 
> first time it gets a submit_sm_resp to dlr table ( internal, mysql or
> any other) and then compare it with deliver_sm's id field. 
> 
> -Tarun
> -- 
> http://www.tarundua.net
> Nothing you ever wanted to find about Tarun Dua


Reply via email to