Hello All!
I can't send sms in UTF-8, SMSC tells me that I send an wrong format.
My configurations are:
1. MySQL is set to UTF-8
2. tables send_sms, sent_sms with some important rows like msgdata...
have BLOB binary type. I have tested with text (utf8_gneral_ci).
3. sms_type = 2; coding = 2; charset = utf-8; momt = mt;
4. alt-charset = utf-8. Also I have tested with alt-charset = UCS-2
5. alt-dcs = yes. Also I tested with alt-dcs = no
6. mo-recode = true. Also I tested with mo-recod = false
7. bearerbox sqlbox smsbox are compiled from latest repository version.
Every time client receive "chinese" symbols instead of latin or cyrillic.
table send_sms stores good symbols, but sent_sms stores broken data for
ex. "7465737420D182D0B5D181D182203237"
Please tell me what I miss?
here is my kannel.conf
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = 888888
log-file = "/var/log/kannel/kannel.log"
log-level = 2
dlr-storage = mysql
access-log = "/var/log/kannel/access.log"
smsbox-max-pending = 5000
sms-resend-freq = 30
sms-resend-retry = 60
group = mysql-connection
id = sqlbox-db
host = localhost
username = ********
password = ********
database = katukal
max-connections = 1
group = dlr-db
id = sqlbox-db
table = oempro_kannel_dlr
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc
group = smsc
smsc = smpp
smsc-id = kraftmobile
#allowed-smsc-id = kraftmobile
system-type = "VMA"
interface-version = 52
throughput = 500
host = 89.249.188.888
port = 27123
transceiver-mode = 1
smsc-username = ****
smsc-password = ***
alt-dcs = yes
alt-charset = "UTF-8"
enquire-link-interval = 60
source-addr-ton = 5
source-addr-npi = 0
dest-addr-ton = 1
dest-addr-npi = 1
msg-id-type = 0x03
log-file = "/var/log/kannel/operator.log"
log-level = 2
group = smsbox
smsbox-id = mysmsbox
bearerbox-host = 127.0.0.1
bearerbox-port = 13001
sendsms-port = 13013
log-file = "/var/log/kannel/smsbox.log"
log-level = 2
access-log = "/var/log/kannel/access.log"
sendsms-chars = "0123456789+"
mo-recode = false
group = smsbox-route
smsbox-id = mysmsbox
smsc-id = kraftmobile
#shortcode = 2288
group = sendsms-user
username = ****
password = ***
max-messages = 5
concatenation = true
default-smsc = kraftmobile
dlr-url =
"http://78.21.17.173/private/dlr.php?from=%P&to=%p&smsc=%i&dlr-type=%d&text="
group = sms-service
keyword = default
text = "No services defined"