Hi, I've just upgraded to Kannel 1.4.3 from 1.2.1 and I am having problems with the MO charset conversion.
With 1.2.1, I was able to receive messages OK from this particular SMSC but not since upgrading. With 1.4.3, the logs show the following for a received MO with the text "Testmo single": 2009-12-15 13:55:37 [7] DEBUG: short_message: 2009-12-15 13:55:37 [7] DEBUG: Octet string at 0x8112dd0: 2009-12-15 13:55:37 [7] DEBUG: len: 12 2009-12-15 13:55:37 [7] DEBUG: size: 13 2009-12-15 13:55:37 [7] DEBUG: immutable: 0 2009-12-15 13:55:37 [7] DEBUG: data: d4 f2 9c de 7e 83 e6 69 ....~..i 2009-12-15 13:55:37 [7] DEBUG: data: f7 99 5d 06 ..]. 2009-12-15 13:55:37 [7] DEBUG: Octet string dump ends. 2009-12-15 13:55:37 [7] DEBUG: SMPP PDU dump ends. 2009-12-15 13:55:37 [7] DEBUG: msglen7 : 12 2009-12-15 13:55:37 [7] DEBUG: len is 12 2009-12-15 13:55:37 [7] DEBUG: len is 13 2009-12-15 13:55:37 [7] DEBUG: oisd_expand_gsm7 raw8=Testmo single With 1.4.3 I get: 2009-12-15 13:15:23 [4547] [7] DEBUG: short_message: 2009-12-15 13:15:23 [4547] [7] DEBUG: Octet string at 0x8accc58: 2009-12-15 13:15:23 [4547] [7] DEBUG: len: 12 2009-12-15 13:15:23 [4547] [7] DEBUG: size: 13 2009-12-15 13:15:23 [4547] [7] DEBUG: immutable: 0 2009-12-15 13:15:23 [4547] [7] DEBUG: data: d4 f2 9c de 7e 83 e6 69 f7 99 5d 06 ....~..i..]. 2009-12-15 13:15:23 [4547] [7] DEBUG: Octet string dump ends. 2009-12-15 13:15:23 [4547] [7] DEBUG: user_message_reference: 0 = 0x00000000 2009-12-15 13:15:23 [4547] [7] DEBUG: SMPP PDU dump ends. 2009-12-15 13:15:23 [4547] [7] WARNING: Could not convert GSM (0xd4) to Unicode. 2009-12-15 13:15:23 [4547] [7] WARNING: Could not convert GSM (0xf2) to Unicode. 2009-12-15 13:15:23 [4547] [7] WARNING: Could not convert GSM (0x9c) to Unicode. 2009-12-15 13:15:23 [4547] [7] WARNING: Could not convert GSM (0xde) to Unicode. 2009-12-15 13:15:23 [4547] [7] WARNING: Could not convert GSM (0x83) to Unicode. 2009-12-15 13:15:23 [4547] [7] WARNING: Could not convert GSM (0xe6) to Unicode. 2009-12-15 13:15:23 [4547] [7] WARNING: Could not convert GSM (0xf7) to Unicode. 2009-12-15 13:15:23 [4547] [7] WARNING: Could not convert GSM (0x99) to Unicode. As you can see the data is the same "d4 f2 9c de 7e 83 e6 69 f7 99 5d 06" for both the old version and the new version. However, both versions include non GSM hex values in the data and yet the old version seems to be able to convert OK to something called raw8. I've tried changing the alt-charset for the SMSC but I'm pretty sure it's sending gsm7 correctly. Any ideas? Thanks, Elliot. -- Elliot Tucker | Operations Manager | Púca – Powering Mobile Marketing 8 Castlewood Place | Rathmines | Dublin 6 | Phone: + 353 1 499 5926 | Mobile: + 353 86 056 2728 I email: [email protected] | www.puca.com
