Hi,

you have to send in UTF-8 with coding=0 (for inverted exclamation mark: 
text=%C2%A1&coding=0).
If it doesn’t work please check your smpp debug logs and check if submit_sm has 
correct values in message body
and if yes then SMSC doing something wrong.

Thanks,
Alex


> Am 04.04.2018 um 07:27 schrieb Wan Md Arif Noor Bin. Wan Nizam 
> <md.a...@forest-interactive.com>:
> 
> Hello Users,
>  
> I’m having an issue with sending both inverted exclamation mark (¡) and 
> inverted question mark (¿) , it seems like it was converted to B! and B? 
> instead.
>  
> Tried with all below parameter but none working except for UCS-2 which I want 
> to avoid.
>  
> curl 
> "http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2&password=smsPass&from=68888&to=60113******&text=¿
>  
> <http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2&password=smsPass&from=68888&to=60113******&text=%C2%BF>"
>   Result : B?
> curl 
> "http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2&password=smsPass&from=68888&to=60113******&text=%C2%BF
>  
> <http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2&password=smsPass&from=68888&to=60113******&text=%C2%BF>"
>  Result :B?
> curl 
> "http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2&password=smsPass&from=68888&to=60113******&text=¿&coding=0&alt-dcs=1
>  
> <http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2&password=smsPass&from=68888&to=60113******&text=%C2%BF&coding=0&alt-dcs=1>"
>  Result : ‘
> curl 
> "http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2&password=smsPass&from=68888&to=60113******&text=%C2%BF&coding=0&alt-dcs=1
>  
> <http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2&password=smsPass&from=68888&to=60113******&text=%C2%BF&coding=0&alt-dcs=1>"
>  Result : ‘
> curl 
> "http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2&password=smsPass&from=68888&to=60113******&text=¿&coding=0&alt-dcs=0
>  
> <http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2&password=smsPass&from=68888&to=60113******&text=%C2%BF&coding=0&alt-dcs=0>"
>  Result : B?
> curl 
> "http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2&password=smsPass&from=68888&to=60113******&text=%C2%BF&coding=0&alt-dcs=0
>  
> <http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2&password=smsPass&from=68888&to=60113******&text=%C2%BF&coding=0&alt-dcs=0>"
>  Result : B?
> curl 
> "http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2&password=smsPass&from=68888&to=60113******&text=¿&coding=0&charset=ISO-8859-1&alt-dcs=1
>  
> <http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2&password=smsPass&from=68888&to=60113******&text=%C2%BF&coding=0&charset=ISO-8859-1&alt-dcs=1>"Result
>  : ?’
> curl 
> "http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2&password=smsPass&from=68888&to=60113******&text=¿&coding=0&charset=ISO-8859-1&alt-dcs=1
>  
> <http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2&password=smsPass&from=68888&to=60113******&text=%C2%BF&coding=0&charset=ISO-8859-1&alt-dcs=1>"Result
>  : ?’
>  
> Tried with charset UTF-8 and ASCII, but same with same result. Please advise 
> what else can be done to get this working?
>  
> Config:
>  
> group = core
> admin-port = 13005
> smsbox-port = 13007
> sms-resend-retry = 10
> admin-password = admin
> box-deny-ip = "*.*.*.*"
> box-allow-ip = ""
> access-log = /opt/kannel/smpp_access.log
> access-log-format = "[SMSC:%i] [from:%p] [to:%P] [msg:%L:%b] [FID:%F]"
> store-type = file
> store-location = "/opt/kannel/smpp.store"
> store-dump-freq = 100
>  
> group = smsbox
> bearerbox-host = 127.0.0.1
> sendsms-port = 13017
> http-request-retry = 3
> http-queue-delay = 5
> reply-couldnotfetch = "Please wait"
> log-file = "/opt/kannel/smsbox/smsbox.log"
> log-level = 0
>  
> group = smsc
> smsc = smpp
> smsc-id = smppConnection2
> allowed-smsc-id = "smppConnection2"
> host =
> port =
> system-type = ""
> address-range = "1234"
> smsc-username = ""
> smsc-password = ""
> source-addr-ton = 0
> source-addr-npi = 1
> dest-addr-ton = 1
> dest-addr-npi = 1
> interface-version = 52
> throughput = 15
> alt-charset = "utf-8"
> connection-timeout = 60
> max-pending-submits = 10
> enquire-link-interval = 20
> transceiver-mode = 0
> log-file = "/opt/kannel/bearerbox/debug.log"
> log-level = 0
> reconnect-delay = 2
>  
> group = sendsms-user
> username = smsSMPP2
> password = smsPass
> max-messages  = 10
> concatenation = true
> default-smsc = smppConnection2
>  
> group = sms-service
> keyword = default
> accepted-smsc = smppConnection2
> get-url = "
> max-messages = 0
>   concatenation = true

Reply via email to