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 <http://twitter.com/thorntech> | LinkedIn
<http://www.linkedin.com/in/jeffthorn> | Facebook
<http://www.facebook.com/thorntechnologies>


On Tue, Aug 18, 2020 at 2:53 PM Wan Md Arif Noor Bin. Wan Nizam <
md.a...@forest-interactive.com> 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 <users-boun...@kannel.org> *On Behalf Of *Wan Md Arif Noor
> Bin. Wan Nizam
> *Sent:* Tuesday, August 18, 2020 6:05 PM
> *To:* kannel users@kannel.org <users@kannel.org>
> *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
>
>
>

Reply via email to