Re: dlr mask question...
Alexander Malysh <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | Centrium GmbH |
| Message-ID | <[email protected]> |
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: > >> 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. 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... > > If a message is rejected from smsc, it should generate a DLR_SMSC_FAIL, > NEVER a DLR_FAIL! -- Best regards / Mit besten Grüßen aus Düsseldorf Dipl.-Ing. Alexander Malysh ___________________________________________ Centrium GmbH Vogelsanger Weg 80 40470 Düsseldorf Fon: +49 (0211) 74 84 51 80 Fax: +49 (0211) 277 49 109 email: [email protected] web: www.centrium.de msn: [email protected] icq: 98063111 ___________________________________________ Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html