Re: SMPP getting stuck

Andreas Fink <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
On Donnerstag, Dezember 5, 2002, at 03:23  Uhr, Stipe Tolj wrote:

> I'm vetoing against (-1) for the block:
>
>      if(msg->sms.coding == 1)        /* dont screw up unicode messages
> */
>      	charset_gsm_to_latin1(msg->sms.msgdata);
>
> because most SMPP SMSC seem to send with data_coding = 0 and use GSM
> alphabet as default SMSC alphabet.
>
> This patch would result that characters (like german umlauts) would
> not be transcoded correctly for inbound messages!
>
> Andreas, can you describe which problem you have with it.
>

ok. then how about:

	  if((msg->sms.coding == 1) ||   (msg->sms.coding == 0) )

the problem I have is incoming logos (binary SMS) or similar SMS
and especially Arab characters which are UCS2.

Also if you chain Kannel over HTTP, then incoming characters will be 
translated twice.


Andreas Fink
Fink Consulting GmbH

---------------------------------------------------------------
Tel: +41-61-6666332 Fax: +41-61-6666331  Mobile: +41-79-2457333
Address: Clarastrasse 3, 4058 Basel, Switzerland
E-Mail:  [email protected]
Homepage: http://www.finkconsulting.com
---------------------------------------------------------------
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.