Oh - my bad. alt-dcs=1 was 11110fmm and alt-dcs=2 was 00cmffmm.

Med venlig hilsen / Best regards

Peter Christensen

Developer
------------------
Cool Systems ApS

Tel: +45 2888 1600
 @ : [EMAIL PROTECTED]
www: www.coolsystems.dk


Peter Christensen wrote:
Hi Hillel,

1)
coding=1 is for binary messages. Neither GSM nor unicode.

2)
With coding=1, charset should have no effect, since the message is binary data (would be quite disastrous if Kannel parsed the binary data as character data and did some charset conversions)

3)
With alt-dcs=1, the DCS field in the SMS is encoded as 00cmffmm (binary), where c is compression, m is message class and f is message coding (GSM/UCS2/8-bit data). With alt-dcs=2, DCS is encoded as 11110fmm, which will always set a message class and can only choose between GSM charset and 8-bit data. At least, this is how I have understood the setting. Check out GSM TS 03.38 for more info.

--
Med venlig hilsen / Best regards

Peter Christensen

Developer
------------------
Cool Systems ApS

Tel: +45 2888 1600
 @ : [EMAIL PROTECTED]
www: www.coolsystems.dk


Hillel wrote:
Dear Kannel Developers.

From the user guide:
http://kannel.org/download/kannel-userguide-snapshot/userguide.html#AEN4179

I'd like learn to send these coding types using Kannel. Any help on
understanding the spec correctly appreciated. I sent this to the users list,
but have not yet received any response.

1)Is this correct?
For GSM alphabet which has coding of 7bits
 - use coding = 0 & charset = ISO-8859-1
For ISO-8859-1 (Latin1) which has coding of 7bits
 - use coding = 0 & charset = ISO-8859-1
For Unicode which has coding of 8bits
 - use coding = 1 & charset = UTF-16BE
For UCS2 which has coding UCS-2
  - use coding = 2 & charset = UTF-16BE

2)For ringtones or Logos is this correct?
 set udh for the ringtone or logo and coding is set to 8bits
 - use coding = 1 & charset = UTF-16BE

3)When do you use alt-dcs? When do you use FX and 0X?
From the User Guide "Optional. If unset, Kannel uses the alt-dcs defined on
smsc configuration, or 0X per default. If equals to 1, uses FX. If equals to
0, force 0X."

Wishing the Kannel developers list seasons greetings and a prosperous 2006. I'd also like to thank the Kannel developers for giving the Kannel community
such a great product.

Rgds





Reply via email to