Re: Pipe Symbol Issue
Davor Spasoski <[email protected]> Tue, 18 Aug 2020 20:03:26 +0000
| Newsgroups | gmane.comp.mobile.kannel.user |
|---|---|
| Message-ID | <[email protected]> |
I’m intrigued by Jeff’s interpretation, which is true, but, isn’t alt-charset=utf-8 ensuring transparency of kannel for the encoding and practically leaving the transcoding to the SMSC? I see only this benefit with this setting, offloading the content provider from always having to switch coding whenever there is a character outside of gsm 7-bit. Other than that, what’s the use? Br, Davor On Aug 18, 2020, at 9:32 PM, Jeff Thorn <[email protected] > wrote: The pipe symbol is not a standard GSM 7 character. It needs to be escaped when using the default 7 bit charset ( https://www.developershome.com/sms/gsmAlphabet.asp ). Try changing your "coding" param to 1 to for 8 bit characters, or 2 if you need extended utf8 characters. https://kannel.org/download/1.5.0/userguide-1.5.0/userguide.html#AEN4623 Jeff Thorn CEO Thorn Technologies, LLC www.thorntech.com @thorntech | LinkedIn | Facebook On Tue, Aug 18, 2020 at 2:53 PM Wan Md Arif Noor Bin. Wan Nizam <[email protected] > wrote: Hi Anyone? I’ve updated to svn-r5302M and still seeing the same problem. 26892:2020-08-19 02:45:42 [9506] [7] DEBUG: SMPP PDU 0x7efcd8006d30 dump: 26893:2020-08-19 02:45:42 [9506] [7] DEBUG: type_name: submit_sm 26894:2020-08-19 02:45:42 [9506] [7] DEBUG: command_id: 4 = 0x00000004 26895:2020-08-19 02:45:42 [9506] [7] DEBUG: command_status: 0 = 0x00000000 26896:2020-08-19 02:45:42 [9506] [7] DEBUG: sequence_number: 8 = 0x00000008 26897:2020-08-19 02:45:42 [9506] [7] DEBUG: service_type: NULL 26898:2020-08-19 02:45:42 [9506] [7] DEBUG: source_addr_ton: 0 = 0x00000000 26899:2020-08-19 02:45:42 [9506] [7] DEBUG: source_addr_npi: 1 = 0x00000001 26900:2020-08-19 02:45:42 [9506] [7] DEBUG: source_addr: "" 26901:2020-08-19 02:45:42 [9506] [7] DEBUG: dest_addr_ton: 1 = 0x00000001 26902:2020-08-19 02:45:42 [9506] [7] DEBUG: dest_addr_npi: 1 = 0x00000001 26903:2020-08-19 02:45:42 [9506] [7] DEBUG: destination_addr: "" 26904:2020-08-19 02:45:42 [9506] [7] DEBUG: esm_class: 3 = 0x00000003 26905:2020-08-19 02:45:42 [9506] [7] DEBUG: protocol_id: 0 = 0x00000000 26906:2020-08-19 02:45:42 [9506] [7] DEBUG: priority_flag: 0 = 0x00000000 26907:2020-08-19 02:45:42 [9506] [7] DEBUG: schedule_delivery_time: NULL 26908:2020-08-19 02:45:42 [9506] [7] DEBUG: validity_period: NULL 26909:2020-08-19 02:45:42 [9506] [7] DEBUG: registered_delivery: 0 = 0x00000000 26910:2020-08-19 02:45:42 [9506] [7] DEBUG: replace_if_present_flag: 0 = 0x00000000 26911:2020-08-19 02:45:42 [9506] [7] DEBUG: data_coding: 0 = 0x00000000 26912:2020-08-19 02:45:42 [9506] [7] DEBUG: sm_default_msg_id: 0 = 0x00000000 26913:2020-08-19 02:45:42 [9506] [7] DEBUG: sm_length: 2 = 0x00000002 26914:2020-08-19 02:45:42 [9506] [7] DEBUG: short_message: 26915:2020-08-19 02:45:42 [9506] [7] DEBUG: Octet string at 0x7efcd80058f0: 26916:2020-08-19 02:45:42 [9506] [7] DEBUG: len: 2 26917:2020-08-19 02:45:42 [9506] [7] DEBUG: size: 1024 26918:2020-08-19 02:45:42 [9506] [7] DEBUG: immutable: 0 26919:2020-08-19 02:45:42 [9506] [7] DEBUG: data: 1b 40 .@ 26920:2020-08-19 02:45:42 [9506] [7] DEBUG: Octet string dump ends. 26921:2020-08-19 02:45:42 [9506] [7] DEBUG: SMPP PDU dump ends. Best Regards From: users <[email protected] > On Behalf Of Wan Md Arif Noor Bin. Wan Nizam Sent: Tuesday, August 18, 2020 6:05 PM To: kannel [email protected] <[email protected] > Subject: Pipe Symbol Issue Hi There, I’ve notice that sending | symbol converted into @ instead regardless alt-charset set to UTF-8 or not. Kindly assist. CGI : curl "localhost:13017/cgi-bin/sendsms?username=smsSMPP2&password=smsPass&from=68123&SMPP2&to=601132495424&text=%7c" Kannel bearerbox version `svn-r5299M'. Debug Log : 291852:2020-08-18 17:44:37 [62170] [7] DEBUG: SMPP PDU 0x7fa23c01c3a0 dump: 291853:2020-08-18 17:44:37 [62170] [7] DEBUG: type_name: submit_sm 291854:2020-08-18 17:44:37 [62170] [7] DEBUG: command_id: 4 = 0x00000004 291855:2020-08-18 17:44:37 [62170] [7] DEBUG: command_status: 0 = 0x00000000 291856:2020-08-18 17:44:37 [62170] [7] DEBUG: sequence_number: 9333 = 0x00002475 291857:2020-08-18 17:44:37 [62170] [7] DEBUG: service_type: NULL 291858:2020-08-18 17:44:37 [62170] [7] DEBUG: source_addr_ton: 0 = 0x00000000 291859:2020-08-18 17:44:37 [62170] [7] DEBUG: source_addr_npi: 1 = 0x00000001 291860:2020-08-18 17:44:37 [62170] [7] DEBUG: source_addr: "68123" 291861:2020-08-18 17:44:37 [62170] [7] DEBUG: dest_addr_ton: 1 = 0x00000001 291862:2020-08-18 17:44:37 [62170] [7] DEBUG: dest_addr_npi: 1 = 0x00000001 291863:2020-08-18 17:44:37 [62170] [7] DEBUG: destination_addr: "601132495424" 291864:2020-08-18 17:44:37 [62170] [7] DEBUG: esm_class: 3 = 0x00000003 291865:2020-08-18 17:44:37 [62170] [7] DEBUG: protocol_id: 0 = 0x00000000 291866:2020-08-18 17:44:37 [62170] [7] DEBUG: priority_flag: 0 = 0x00000000 291867:2020-08-18 17:44:37 [62170] [7] DEBUG: schedule_delivery_time: NULL 291868:2020-08-18 17:44:37 [62170] [7] DEBUG: validity_period: NULL 291869:2020-08-18 17:44:37 [62170] [7] DEBUG: registered_delivery: 1 = 0x00000001 291870:2020-08-18 17:44:37 [62170] [7] DEBUG: replace_if_present_flag: 0 = 0x00000000 291871:2020-08-18 17:44:37 [62170] [7] DEBUG: data_coding: 0 = 0x00000000 291872:2020-08-18 17:44:37 [62170] [7] DEBUG: sm_default_msg_id: 0 = 0x00000000 291873:2020-08-18 17:44:37 [62170] [7] DEBUG: sm_length: 7 = 0x00000007 291874:2020-08-18 17:44:37 [62170] [7] DEBUG: short_message: 291875:2020-08-18 17:44:37 [62170] [7] DEBUG: Octet string at 0x7fa23c0107c0: 291876:2020-08-18 17:44:37 [62170] [7] DEBUG: len: 7 291877:2020-08-18 17:44:37 [62170] [7] DEBUG: size: 1024 291878:2020-08-18 17:44:37 [62170] [7] DEBUG: immutable: 0 291879:2020-08-18 17:44:37 [62170] [7] DEBUG: data: 52 4d 30 2e 20 1b 40 RM0. .@ Config : group = smsc smsc = smpp smsc-id = allowed-smsc-id = "” host = port = 13042 system-type = "" address-range = "" smsc-username = "" smsc-password = "" source-addr-ton = 0 source-addr-npi = 1 dest-addr-ton = 1 dest-addr-npi = 1 interface-version = 52 throughput = 30 connection-timeout = 120 max-pending-submits = 10 enquire-link-interval = 60 transceiver-mode = 1 log-file = "/opt/kannel/bearerbox/6.log" log-level = 1 reconnect-delay = 5 group = sendsms-user username = smsSMPP2 password = smsPass max-messages = 10 concatenation = true default-smsc = **** group = sms-service keyword = default accepted-smsc = * get-url = "****” max-messages = 0 concatenation = true Thank you and Regards, Arif Noor ---------- 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 Македонија ДООЕЛ Скопје не презема одговорност за несоодветно или нецелосно пренесување на информациите содржани во оваа комуникација, ниту пак за било какво задоцнување на приемот или оштетувања на вашиот систем. Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте ја природата!