Re: dlr mask question...

[email protected] (Bruno Rodrigues)
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
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!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.