Hi,

please note: values for the mclass/coding were changed. Please use values in 
the range: coding[0-2], mclass[0-3].

Bruno, would you like to update the usergiude to reflect changes made by you?

On Thursday 11 September 2003 12:52, Yury Mikhienko wrote:
> In last CVS version of kannel data_coding field in PDU wrong calculating
>
> For example, I set the following headers
>    if(!response.containsHeader("X-Kannel-Coding"))
>    {
>     response.addHeader("X-Kannel-Coding",new String("2"));
>    }else
>    {
>     response.setHeader("X-Kannel-Coding",new String("2"));
>    };
>

is it really UCS2 ?

>
>    if(!response.containsHeader("X-Kannel-MClass"))
>    {
>     response.addHeader("X-Kannel-MClass","1");
>    }else
>    {
>     response.setHeader("X-Kannel-MClass","1");
>    };

do you really want mclass = FAX ?

>
> and get the wrong data_coding:
>
> 2003-09-11 13:45:44 [6] DEBUG:   esm_class: 3 = 0x00000003
> 2003-09-11 13:45:44 [6] DEBUG:   protocol_id: 0 = 0x00000000
> 2003-09-11 13:45:44 [6] DEBUG:   priority_flag: 0 = 0x00000000
> 2003-09-11 13:45:44 [6] DEBUG:   schedule_delivery_time: NULL
> 2003-09-11 13:45:44 [6] DEBUG:   validity_period: NULL
> 2003-09-11 13:45:44 [6] DEBUG:   registered_delivery: 0 = 0x00000000
> 2003-09-11 13:45:44 [6] DEBUG:   replace_if_present_flag: 0 = 0x00000000
> 2003-09-11 13:45:44 [6] DEBUG:   data_coding: 25 = 0x00000019 <--- WHY?
>
> in previouse version of kannel I get data_coding properly:
> 2003-09-11 14:37:24 [6] DEBUG:   esm_class: 3 = 0x00000003
> 2003-09-11 14:37:24 [6] DEBUG:   protocol_id: 0 = 0x00000000
> 2003-09-11 14:37:24 [6] DEBUG:   priority_flag: 0 = 0x00000000
> 2003-09-11 14:37:24 [6] DEBUG:   schedule_delivery_time: NULL
> 2003-09-11 14:37:24 [6] DEBUG:   validity_period: NULL
> 2003-09-11 14:37:24 [6] DEBUG:   registered_delivery: 0 = 0x00000000
> 2003-09-11 14:37:24 [6] DEBUG:   replace_if_present_flag: 0 = 0x00000000
> 2003-09-11 14:37:24 [6] DEBUG:   data_coding: 20 = 0x00000014 <--- CORRECT
> 2003-09-11 14:37:24 [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
>
> Where is error?

-- 
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: a.malysh at centrium.de
web: www.centrium.de
msn: olek2002 at hotmail.com
icq: 98063111
___________________________________________

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html


Reply via email to