Peng, I also get these errors sometimes:
2003-03-04 11:02:48 [7] DEBUG: EMI2[VodMT055]: emi2 sending packet: <01/00274/O/51/0031650698222/02035/////////////////3//547970697363682076 726F7577656C696A6B3A20776161726F6D202246616B656E222076726F7577656E206565 6E206F726761736D653F204F6D646174207A652064656E6B656E2064617420686574206F 6E732069657473206B616E20736368656C656E2E2E2E/////////////C8> 2003-03-04 11:02:48 [7] DEBUG: Adding DLR smsc=VodMT055, ts=VodMT055-1, src=02035, dst=0031650698222, mask=24 2003-03-04 11:02:48 [7] DEBUG: EMI2[VodMT055]: Got packet from the main socket 2003-03-04 11:02:48 [7] DEBUG: EMI2[VodMT055]: emi2 parsing packet: <01/00046/R/51/A//0031650698222:040303110211/C3> 2003-03-04 11:02:48 [7] DEBUG: Looking for DLR smsc=VodMT055, ts=VodMT055-1, dst=0031650698222, type=8 2003-03-04 11:02:48 [7] DEBUG: created DLR message for URL <http://172.16.0.130/mmx-httpgw/KannelReportGateway?messageid=1046727238 075&status=%d×tamp=%t&reasoncode=%A&smsc_id=%i> 2003-03-04 11:02:48 [7] PANIC: gwlib/octstr.c:2140: seems_valid_real: Assertion `ostr->data[ostr->len] == '\0'' failed. (Called from gwlib/octstr.c:292:octstr_duplicate_real.) Do you know what this means? Regards, Edwin Poot -----Original Message----- From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED] Sent: Friday, February 28, 2003 11:07 AM To: Edwin R. Poot Cc: [EMAIL PROTECTED] Subject: Re: dlr-mask example What is the error you are getting ? Edwin R. Poot wrote: >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 >>> >>> >>> >>> >>> >>> >>> >> >> >> >> >> >> > > > > >