Re: GSM Characters
Hi There, The test was sent with alt-charset=utf-8 in the configuration and with coding=0 and alt-dcs=1 in the smspush cgi. With alt-dcs=0 the message reveiced on phone is B¤B!CèCΠC_CÆB'B?C¤C6C1C< but by using alt-dcs=1 it becomes $@[\\]^_`{|}~ instead. While it will work when encoded using ucs2, it will reduce the character count. Could it be that the provider is modifying it as sending @£$¥èéùìòÇØøÅåΔΦΓΛΩΠΨΣΘΞ€ÆæßÉ with the alt-dcs=1 settings works. Best Regards. On 7/17/2020 4:45 PM, Davor Spasoski wrote: 1. Some of your characters are supported in the default GS 7-bit alphabet: https://www.developershome.com/sms/gsmAlphabet.asp 2. All of the characters are supported if you use UCS-2 encoding. - These are the only two universally supported alphabets on handsets. - You encode your request towards kannel (smsbox) using UTF-8 encoding. For 1 nothing to set, for 2, you need to set coding=2 and charset=utf-8 For 1, some of your characters will be transcoded to ? Bottom line, check your encoding towards kannel. Davor Spasoski -Original Message- From: users On Behalf Of Eichi Sent: Friday, July 17, 2020 4:23 AM To: users Subject: GSM Characters Hi Kannel Users, Please advise if these characters (¤¡ÄÖÑܧ¿äöñü) are supported in Kannel? Every time I send it, these characters is converted to $@[\\]^_`{|}~ instead. 1829895:2020-07-17 09:56:19 [4432] [7] DEBUG: SMPP[smppConnection2]: Sending PDU: 1829896:2020-07-17 09:56:19 [4432] [7] DEBUG: SMPP PDU 0x7f6c04003ea0 dump: 1829897:2020-07-17 09:56:19 [4432] [7] DEBUG: type_name: submit_sm 1829898:2020-07-17 09:56:19 [4432] [7] DEBUG: command_id: 4 = 0x0004 1829899:2020-07-17 09:56:19 [4432] [7] DEBUG: command_status: 0 = 0x 1829900:2020-07-17 09:56:19 [4432] [7] DEBUG: sequence_number: 20013 = 0x4e2d 1829901:2020-07-17 09:56:19 [4432] [7] DEBUG: service_type: NULL 1829902:2020-07-17 09:56:19 [4432] [7] DEBUG: source_addr_ton: 0 = 0x 1829903:2020-07-17 09:56:19 [4432] [7] DEBUG: source_addr_npi: 1 = 0x0001 1829904:2020-07-17 09:56:19 [4432] [7] DEBUG: source_addr: "x" 1829905:2020-07-17 09:56:19 [4432] [7] DEBUG: dest_addr_ton: 1 = 0x0001 1829906:2020-07-17 09:56:19 [4432] [7] DEBUG: dest_addr_npi: 1 = 0x0001 1829907:2020-07-17 09:56:19 [4432] [7] DEBUG: destination_addr: "xx" 1829908:2020-07-17 09:56:19 [4432] [7] DEBUG: esm_class: 3 = 0x0003 1829909:2020-07-17 09:56:19 [4432] [7] DEBUG: protocol_id: 0 = 0x 1829910:2020-07-17 09:56:19 [4432] [7] DEBUG: priority_flag: 0 = 0x 1829911:2020-07-17 09:56:19 [4432] [7] DEBUG: schedule_delivery_time: NULL 1829912:2020-07-17 09:56:19 [4432] [7] DEBUG: validity_period: NULL 1829913:2020-07-17 09:56:19 [4432] [7] DEBUG: registered_delivery: 0 = 0x 1829914:2020-07-17 09:56:19 [4432] [7] DEBUG: replace_if_present_flag: 0 = 0x 1829915:2020-07-17 09:56:19 [4432] [7] DEBUG: data_coding: 241 = 0x00f1 1829916:2020-07-17 09:56:19 [4432] [7] DEBUG: sm_default_msg_id: 0 = 0x 1829917:2020-07-17 09:56:19 [4432] [7] DEBUG: sm_length: 12 = 0x000c 1829918:2020-07-17 09:56:19 [4432] [7] DEBUG: short_message: "$@[\\]^_`{|}~" 1829919:2020-07-17 09:56:19 [4432] [7] DEBUG: SMPP PDU dump ends. 1829920:2020-07-17 09:56:19 [4432] [7] DEBUG: SMPP[smppConnection2]: throughput (1.00,15.00) 1829921:2020-07-17 09:56:19 [4432] [7] DEBUG: SMPP[smppConnection2]: throughput (1.00,15.00) 1829922:2020-07-17 09:56:19 [4432] [7] DEBUG: SMPP[smppConnection2]: Got PDU: 1829923:2020-07-17 09:56:19 [4432] [7] DEBUG: SMPP PDU 0x7f6c04003ea0 dump: 1829924:2020-07-17 09:56:19 [4432] [7] DEBUG: type_name: submit_sm_resp 1829925:2020-07-17 09:56:19 [4432] [7] DEBUG: command_id: 2147483652 = 0x8004 1829926:2020-07-17 09:56:19 [4432] [7] DEBUG: command_status: 0 = 0x 1829927:2020-07-17 09:56:19 [4432] [7] DEBUG: sequence_number: 20013 = 0x4e2d 1829928:2020-07-17 09:56:19 [4432] [7] DEBUG: message_id: "318BF1" 1829929:2020-07-17 09:56:19 [4432] [7] DEBUG: SMPP PDU dump ends. Best Regards. Disclaimer: A1 Makedonija DOOEL Skopje This e-mail (including any attachments) is confidential and may be protected by legal privilege. If you are not the intended recipient, you should not copy it, re-transmit it, use it or disclose its contents, but should return it to the sender immediately and delete your copy from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. A1 Makedonija DOOEL Skopje shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. Please, do not print this e-mail unless it is necessary! Think about saving the environment! Напомена: А1 Македонија ДООЕЛ Скопје Оваа електронска порака (вклучувајќи ги
RE: GSM Characters
1. Some of your characters are supported in the default GS 7-bit alphabet: https://www.developershome.com/sms/gsmAlphabet.asp 2. All of the characters are supported if you use UCS-2 encoding. - These are the only two universally supported alphabets on handsets. - You encode your request towards kannel (smsbox) using UTF-8 encoding. For 1 nothing to set, for 2, you need to set coding=2 and charset=utf-8 For 1, some of your characters will be transcoded to ? Bottom line, check your encoding towards kannel. Davor Spasoski -Original Message- From: users On Behalf Of Eichi Sent: Friday, July 17, 2020 4:23 AM To: users Subject: GSM Characters Hi Kannel Users, Please advise if these characters (¤¡ÄÖÑܧ¿äöñü) are supported in Kannel? Every time I send it, these characters is converted to $@[\\]^_`{|}~ instead. 1829895:2020-07-17 09:56:19 [4432] [7] DEBUG: SMPP[smppConnection2]: Sending PDU: 1829896:2020-07-17 09:56:19 [4432] [7] DEBUG: SMPP PDU 0x7f6c04003ea0 dump: 1829897:2020-07-17 09:56:19 [4432] [7] DEBUG: type_name: submit_sm 1829898:2020-07-17 09:56:19 [4432] [7] DEBUG: command_id: 4 = 0x0004 1829899:2020-07-17 09:56:19 [4432] [7] DEBUG: command_status: 0 = 0x 1829900:2020-07-17 09:56:19 [4432] [7] DEBUG: sequence_number: 20013 = 0x4e2d 1829901:2020-07-17 09:56:19 [4432] [7] DEBUG: service_type: NULL 1829902:2020-07-17 09:56:19 [4432] [7] DEBUG: source_addr_ton: 0 = 0x 1829903:2020-07-17 09:56:19 [4432] [7] DEBUG: source_addr_npi: 1 = 0x0001 1829904:2020-07-17 09:56:19 [4432] [7] DEBUG: source_addr: "x" 1829905:2020-07-17 09:56:19 [4432] [7] DEBUG: dest_addr_ton: 1 = 0x0001 1829906:2020-07-17 09:56:19 [4432] [7] DEBUG: dest_addr_npi: 1 = 0x0001 1829907:2020-07-17 09:56:19 [4432] [7] DEBUG: destination_addr: "xx" 1829908:2020-07-17 09:56:19 [4432] [7] DEBUG: esm_class: 3 = 0x0003 1829909:2020-07-17 09:56:19 [4432] [7] DEBUG: protocol_id: 0 = 0x 1829910:2020-07-17 09:56:19 [4432] [7] DEBUG: priority_flag: 0 = 0x 1829911:2020-07-17 09:56:19 [4432] [7] DEBUG: schedule_delivery_time: NULL 1829912:2020-07-17 09:56:19 [4432] [7] DEBUG: validity_period: NULL 1829913:2020-07-17 09:56:19 [4432] [7] DEBUG: registered_delivery: 0 = 0x 1829914:2020-07-17 09:56:19 [4432] [7] DEBUG: replace_if_present_flag: 0 = 0x 1829915:2020-07-17 09:56:19 [4432] [7] DEBUG: data_coding: 241 = 0x00f1 1829916:2020-07-17 09:56:19 [4432] [7] DEBUG: sm_default_msg_id: 0 = 0x 1829917:2020-07-17 09:56:19 [4432] [7] DEBUG: sm_length: 12 = 0x000c 1829918:2020-07-17 09:56:19 [4432] [7] DEBUG: short_message: "$@[\\]^_`{|}~" 1829919:2020-07-17 09:56:19 [4432] [7] DEBUG: SMPP PDU dump ends. 1829920:2020-07-17 09:56:19 [4432] [7] DEBUG: SMPP[smppConnection2]: throughput (1.00,15.00) 1829921:2020-07-17 09:56:19 [4432] [7] DEBUG: SMPP[smppConnection2]: throughput (1.00,15.00) 1829922:2020-07-17 09:56:19 [4432] [7] DEBUG: SMPP[smppConnection2]: Got PDU: 1829923:2020-07-17 09:56:19 [4432] [7] DEBUG: SMPP PDU 0x7f6c04003ea0 dump: 1829924:2020-07-17 09:56:19 [4432] [7] DEBUG: type_name: submit_sm_resp 1829925:2020-07-17 09:56:19 [4432] [7] DEBUG: command_id: 2147483652 = 0x8004 1829926:2020-07-17 09:56:19 [4432] [7] DEBUG: command_status: 0 = 0x 1829927:2020-07-17 09:56:19 [4432] [7] DEBUG: sequence_number: 20013 = 0x4e2d 1829928:2020-07-17 09:56:19 [4432] [7] DEBUG: message_id: "318BF1" 1829929:2020-07-17 09:56:19 [4432] [7] DEBUG: SMPP PDU dump ends. Best Regards. Disclaimer: A1 Makedonija DOOEL Skopje This e-mail (including any attachments) is confidential and may be protected by legal privilege. If you are not the intended recipient, you should not copy it, re-transmit it, use it or disclose its contents, but should return it to the sender immediately and delete your copy from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. A1 Makedonija DOOEL Skopje shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. Please, do not print this e-mail unless it is necessary! Think about saving the environment! Напомена: А1 Македонија ДООЕЛ Скопје Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да биде заштитена со правни привилегии. Доколку не сте лицето на кое таа му е наменета пораката, не треба да ја копирате, дистрибуирате или да ја откривате нејзината содржина, туку веднаш да ја препратите до испраќачот и да ја избришете оригиналната порака и сите нејзини копии од Вашиот компјутерски систем. Секое неовластено користење на оваа порака во целост или делови од истата е строго забрането. Ве молиме да забележите дека електронските пораки се подложни на промени. А1