Hello, I tried but it looks there is still accent characters transmit like "????", so anybody could please tell me what is the default charset in each module of kannel (eg bearerbox, smsbox, sqlbox, opensmppbox), perhaps the issue is somewhere in this ?
I assumed using a kannel 1.5 should be the good way because of the charset correction, but I'm not sure if the charset has been corrected in each module. thanks in advance ----- Mail original ----- De: "Ahmed Shabana" <a.shab...@egyptnetwork.com> À: "info ubichip" <info.ubic...@free.fr>, users@kannel.org Envoyé: Lundi 13 Février 2012 16:11:27 Objet: RE: pbs with accent with kannel SMPP and OPENSMPPBOX I think it may be the BB link that you bind the openSmppBox should have a field called "alt-charset = LATIN1" Best Regards, Ahmed Shabana| System Engineer | Creative Communication Solutions Egypt Cell +20 (10) 3325373 | KSA Cell +966 (50) 0259791 Skype_id : AhmedShabana2000 -----Original Message----- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of info.ubic...@free.fr Sent: Monday, February 13, 2012 3:45 PM To: users@kannel.org Subject: pbs with accent with kannel SMPP and OPENSMPPBOX Hello, I posted a previous issue, I solved it, this one is a new one : it is a problem with accent, some of accent "èéùìòÇÉ€à" are shown as "?" on the mobile. I got the following architecture : - kannel 1.5.0 (compile with mysql from last SVN) - opensmppbox coming from the addons in the above svn I want to have a kannel machine acting as a SMPP server and then sent traffic to other kannel gw. SMPP client <-> kannel SMPP Server <-> Kannel GW[1..4] The kannel SMPP server got connection to Kannel GW1 with SMPP configuration. The kannel SMPP server is acting as a load balancer between the final Kannel GW. It looks the encoding format is not well recognized : I saw the SMPP client is sending ISO8859 caracters but it looks the data.coding value is still 0 which means GSM alphabet. Does there is anything to force in the opensmppbox or SMPP client configuration ? Thanks in advance for your answer 2012-02-10 17:02:24 [1615] [6] DEBUG: SMPP PDU dump ends. 2012-02-10 17:02:24 [1615] [6] DEBUG: SMPP[laurel]: throughput (0.00,1.00) 2012-02-10 17:02:24 [1615] [6] DEBUG: SMPP[laurel]: throughput (0.00,1.00) 2012-02-10 17:02:24 [1615] [6] WARNING: Invalid/Incomplete multibyte sequence at position 12, skeep it. 2012-02-10 17:02:24 [1615] [6] WARNING: Invalid/Incomplete multibyte sequence at position 13, skeep it. 2012-02-10 17:02:24 [1615] [6] WARNING: Invalid/Incomplete multibyte sequence at position 14, skeep it. 2012-02-10 17:02:24 [1615] [6] DEBUG: Found an invalid multibyte sequence at position <15> 2012-02-10 17:02:24 [1615] [6] DEBUG: new group created `smpp' 2012-02-10 17:02:24 [1615] [6] DEBUG: SMPP[laurel]: Sending PDU: 2012-02-10 17:02:24 [1615] [6] DEBUG: SMPP PDU 0x9609d58 dump: 2012-02-10 17:02:24 [1615] [6] DEBUG: type_name: submit_sm 2012-02-10 17:02:24 [1615] [6] DEBUG: command_id: 4 = 0x00000004 2012-02-10 17:02:24 [1615] [6] DEBUG: command_status: 0 = 0x00000000 2012-02-10 17:02:24 [1615] [6] DEBUG: sequence_number: 47 = 0x0000002f 2012-02-10 17:02:24 [1615] [6] DEBUG: service_type: NULL 2012-02-10 17:02:24 [1615] [6] DEBUG: source_addr_ton: 5 = 0x00000005 2012-02-10 17:02:24 [1615] [6] DEBUG: source_addr_npi: 0 = 0x00000000 2012-02-10 17:02:24 [1615] [6] DEBUG: source_addr: "hcn1" 2012-02-10 17:02:24 [1615] [6] DEBUG: dest_addr_ton: 2 = 0x00000002 2012-02-10 17:02:24 [1615] [6] DEBUG: dest_addr_npi: 1 = 0x00000001 2012-02-10 17:02:24 [1615] [6] DEBUG: destination_addr: "0033629814865" 2012-02-10 17:02:24 [1615] [6] DEBUG: esm_class: 3 = 0x00000003 2012-02-10 17:02:24 [1615] [6] DEBUG: protocol_id: 0 = 0x00000000 2012-02-10 17:02:24 [1615] [6] DEBUG: priority_flag: 0 = 0x00000000 2012-02-10 17:02:24 [1615] [6] DEBUG: schedule_delivery_time: NULL 2012-02-10 17:02:24 [1615] [6] DEBUG: validity_period: NULL 2012-02-10 17:02:24 [1615] [6] DEBUG: registered_delivery: 1 = 0x00000001 2012-02-10 17:02:24 [1615] [6] DEBUG: replace_if_present_flag: 0 = 0x00000000 2012-02-10 17:02:24 [1615] [6] DEBUG: data_coding: 0 = 0x00000000 2012-02-10 17:02:24 [1615] [6] DEBUG: sm_default_msg_id: 0 = 0x00000000 2012-02-10 17:02:24 [1615] [6] DEBUG: sm_length: 15 = 0x0000000f 2012-02-10 17:02:24 [1615] [6] DEBUG: short_message: 2012-02-10 17:02:24 [1615] [6] DEBUG: Octet string at 0x960a2c8: 2012-02-10 17:02:24 [1615] [6] DEBUG: len: 15 2012-02-10 17:02:24 [1615] [6] DEBUG: size: 16 2012-02-10 17:02:24 [1615] [6] DEBUG: immutable: 0 2012-02-10 17:02:24 [1615] [6] DEBUG: data: 74 65 73 74 20 73 66 72 20 38 3a 20 e2 82 ac test sfr 8: ... 2012-02-10 17:02:24 [1615] [6] DEBUG: Octet string dump ends. 2012-02-10 17:02:24 [1615] [6] DEBUG: SMPP PDU dump ends. 2012-02-10 17:02:24 [1615] [6] DEBUG: SMPP[laurel]: throughput limit exceeded (1.00,1.00) 2012-02-10 17:02:25 [1615] [6] DEBUG: SMPP[laurel]: throughput (0.00,1.00) 2012-02-10 17:02:25 [1615] [6] DEBUG: SMPP[laurel]: Got PDU: 2012-02-10 17:02:25 [1615] [6] DEBUG: SMPP PDU 0x95b3ea0 dump: 2012-02-10 17:02:25 [1615] [6] DEBUG: type_name: enquire_link_resp 2012-02-10 17:02:25 [1615] [6] DEBUG: command_id: 2147483669 = 0x80000015 2012-02-10 17:02:25 [1615] [6] DEBUG: command_status: 0 = 0x00000000 2012-02-10 17:02:25 [1615] [6] DEBUG: sequence_number: 46 = 0x0000002e 2012-02-10 17:02:25 [1615] [6] DEBUG: SMPP PDU dump ends. 2012-02-10 17:02:25 [1615] [6] DEBUG: SMPP[laurel]: throughput (0.00,1.00) 2012-02-10 17:02:25 [1615] [6] DEBUG: SMPP[laurel]: throughput (0.00,1.00) 2012-02-10 17:02:25 [1615] [6] DEBUG: SMPP[laurel]: Got PDU: 2012-02-10 17:02:25 [1615] [6] DEBUG: SMPP PDU 0x9609d58 dump: 2012-02-10 17:02:25 [1615] [6] DEBUG: type_name: submit_sm_resp 2012-02-10 17:02:25 [1615] [6] DEBUG: command_id: 2147483652 = 0x80000004 2012-02-10 17:02:25 [1615] [6] DEBUG: command_status: 0 = 0x00000000 2012-02-10 17:02:25 [1615] [6] DEBUG: sequence_number: 47 = 0x0000002f 2012-02-10 17:02:25 [1615] [6] DEBUG: message_id: "70aae488" 2012-02-10 17:02:25 [1615] [6] DEBUG: SMPP PDU dump ends. 2012-02-10 17:02:25 [1615] [6] DEBUG: DLR[mysql]: Adding DLR smsc=laurel, ts=70aae488, src=hcn1, dst=0033629814865, mask=19, boxc=hcn1 2012-02-10 17:02:25 [1615] [6] DEBUG: adding DLR entry into database 2012-02-10 17:02:25 [1615] [6] DEBUG: sql: INSERT INTO `dlr` (`smsc`, `ts`, `source`, `destination`, `service`, `url`, `mask`, `boxc`, `status`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, 0) 2012-02-10 17:02:25 [1615] [6] DEBUG: SMPP[laurel]: throughput (0.00,1.00) 2012-02-10 17:02:30 [1615] [6] DEBUG: SMPP[laurel]: throughput (0.00,1.00) 2012-02-10 17:02:30 [1615] [6] WARNING: Invalid/Incomplete multibyte sequence at position 12, skeep it. 2012-02-10 17:02:30 [1615] [6] WARNING: Invalid/Incomplete multibyte sequence at position 13, skeep it. 2012-02-10 17:02:30 [1615] [6] WARNING: Invalid/Incomplete multibyte sequence at position 14, skeep it. 2012-02-10 17:02:30 [1615] [6] DEBUG: Found an invalid multibyte sequence at position <15>