Re: dlr mask question...
Andreas Fink <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
On Donnerstag, September 18, 2003, at 12:50 Uhr, Bruno Rodrigues wrote: > Alexander Malysh <[email protected]> wrote: >> Hi, >> >> On Tuesday 16 September 2003 18:25, Bill Brigden wrote: >>> Hi, >>> >>> Really obvious question..... when I submit a message via sendsms >>> with a >>> dlrmask as 7 - why do I get a code 16 back if its rejected via the >>> submit_sm_resp? Surely the dlrmask 7 stops this - or am I missing >>> something? >> >> 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. > > If a message is rejected from smsc, it should generate a DLR_SMSC_FAIL, > NEVER a DLR_FAIL! it should create a DLR_SMSC_FAIL and a DLR_FAIL because the message will never reach the phone. Every message submitted, should create one day a DLR_SUCCESS or a DLR_FAIL. DLR_SMSC_FAIL and DLR_SMSC_SUCCESS are only for debugging enabled usually > > > > Andreas Fink Global Networks Switzerland AG ------------------------------------------------------------------ Tel: +41-61-6666333 Fax: +41-61-6666334 Mobile: +41-79-2457333 Global Networks, Inc. Clarastrasse 3, 4058 Basel, Switzerland Web: http://www.global-networks.ch/ [email protected] ------------------------------------------------------------------