Peng, If I use the 31 value, I get an error with Kannel. But just adding the values, is not a bitmask, isn't it?
Have you used the value 31 in the <dlr-mask> element without problems? Regards, Edwin -----Original Message----- From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED] Sent: Friday, February 28, 2003 9:55 AM To: Edwin R. Poot Cc: [EMAIL PROTECTED] Subject: Re: dlr-mask example If you read chapter 9 you'll see that it says for multiple report types, you simply add the values together (togeter in the manual, seems to be a spelling error) . Edwin R. Poot wrote: >Hello Peng, > >Is the value 31 the sum of >1. delivered to phone >2. Non-delivered to phone >4. Queued on SMSc >8. Delivered on SMSc >16. Non-delivered on SMSc > >But the value 31 is not a bitmask, isn't it? >Shouldn't it be 37, (octet value/binary value)? > >Regards, > >Edwin Poot > >-----Original Message----- >From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED] >Sent: Friday, February 28, 2003 1:35 AM >To: Edwin R. Poot >Cc: [EMAIL PROTECTED] >Subject: Re: dlr-mask example > >If you look in chapter 9 of the docs it's actually explained to you how >you can get the various combinations. The value you are after is >actually 31 which is all the values added together. > >Edwin R. Poot wrote: > > >>Does someone have an example of all types of statusreports, such as >>delivered on SMS-c, etc that I could use within the <dlr-mask> tag of >>the XML to be posted to Kannel for a submitmessage? According to the >>documentation the value should be a bitmask value. >> >>In the kannel.log I see a message that the dlr mask is ignored. >> >>Thanks in advance... >> >> >>Regards, >> >>Edwin Poot >> >> >> >> >> > > > > > >