Re: dlr mask question...
[email protected] (Bruno Rodrigues)
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Alexander Malysh <[email protected]> wrote: > On Thursday 18 September 2003 00:50, Bruno Rodrigues wrote: >> Alexander Malysh <[email protected]> wrote: >> > Hi, >> > >> > On Tuesday 16 September 2003 18:25, Bill Brigden wrote: >> > it's pretty simple ;) You have requested >> > DLR_SUCCESS+DLR_FAIL+DLR_BUFFERED. So if a msg was rejected from smsc >> > then it's a end state and handled as DLR_FAIL (which was requested) plus >> > a bit more ;) you can see: aha smsc has not accepted it... >> >> Sorry ??????? >> >> DLR_FAIL is a failure to deliver to phone >> DLR_SMSC_FAIL is a failure to deliver to smsc >> >> Are you mixing both in the code ?!??!!? I surely hope not. > > You can be sure, I'm not mixing both! But if user requested DLR_FAIL and smsc > has rejected this message then DLR_SMSC_FAIL will be generated (also when > DLR_SMSC_FAIL flag was not set), because otherwise user will never get > DLR_FAIL... "I'm not mixing both, I'm just mixing both" ;) First you say that kannel generates a DLR_FAIL back even if you don't ask for it. Now you say it generates a DLR_SMSC_FAIL. Let'me get things straight: kannel SHOULD ONLY generate DLR's for the ones user asked. If you send a bad message and only wait for DLR_FAIL, bad luck. You should always ask for DLR_SMSC_FAIL if you are not sure if your message is right. I'm voting -1 for this mix feature