Re: data_encoding calculate in latest CVS

Yury Mikhienko <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Mobicom-Kavkaz
Message-ID <[email protected]>
> Hi,
> 
> please note: values for the mclass/coding were changed. Please use values in 
> the range: coding[0-2], mclass[0-3].
> 
From latest version and above?

> Bruno, would you like to update the usergiude to reflect changes made by you?
> 
> > 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 ?
No, but I think about the following (from kannel coding note):
0 - Default
1 - 7bit
2 - 8bit
3 - UCS2

but in SMPP Protocol Specification v3.4 notice the following 

00000000 SMSC Default Alphabet
00000001 IA5
00000010 Octet unspecifed (8-bit binary)
00000011 Latin1 (ISO-8859-1)
...
00001000 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 ?
> 
What you mean?
I want get the flash SMS

-- 
 
Best regards,
Yury Mikhienko.
IT engineer, ZAO "Mobicom-Kavkaz"
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.