RE: A DLR question
"Oded Arbel" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
> -----Original Message----- > From: Andreas Fink [mailto:[email protected]] > > If you got DLR_SMSC_SUCCESS, this is not a final stage. > You can not call dlr_find during this time because dlr_add was not > executed yet. > The only way would be to do call dlr_add and dlr_find in a row but > thats useless. Why you want to find something you just added? You > have all the data in your hand when you add it so searching for it > again is an overkill. Well, actually.. that's what I'm doing :-/ . So, to rephrase my question - how do I create a DLR on an SMSC_FAIL or SMSC_SUCCESS, w/o calling dlr_add/dlr_find ? from looking at emi2, that's exactly what's happening - first it does dlr_add (for SMSC_*) and later does dlr_find on them. of course, it makes much more sense how it happens in the emi2 code, then in my code where I call dlr_add only to call dlr_find in the next statement. Oded Arbel m-Wise Inc. [email protected] -- Famous Last Words 020-"Hey, this chest just bit me!"