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