You need to urlencode message before sending it to cgi-bin/sendsms and pass
coding=2 and charset=utf-8 parameters.


2013/4/5 Ali Kashif <[email protected]>

> Dear List,
>
> using kannel.1.5
>
> i am trying to send message in different languages, i am connected to a
> SMSC.
>
> my smsc is telling me to use
>
> coding=2
> character set encoding = utf-8
>
>
> can you explain me what things i need to change and where.
>
>
> here are the configs
>
> group = core
>
> admin-port = 13000
>
> admin-password =
>
> log-file = "/var/log/kannel/kannel.log"
>
> log-level = 3
>
> access-log = "/var/log/kannel/access.log"
>
> smsbox-port = 13001
>
> store-file = "/var/log/kannel/kannel.store"
>
> box-allow-ip = "127.0.0.1"
>
> dlr-storage = mysql
>
> sms-combine-concatenated-mo = true
>
> sms-combine-concatenated-mo-timeout = "1800"
>
>
> group = smsbox
>
> bearerbox-host = 127.0.0.1
>
> sendsms-port = 13131
>
> sendsms-chars = "0123456789+"
>
> log-file = "/var/log/kannel/smsbox.log"
>
> log-level = 0
>
> access-log = "/var/log/kannel/access.log"
>
>
>
> ################################# My SQL ################
>
> group = mysql-connection
>
> id = mydlr
>
> host = localhost
>
> username = sqlbox
>
> password = Cro@t!a
>
> database = kannel
>
> max-connections = 10
>
>
>
> group = dlr-db
>
> id = mydlr
>
> table = mdlr
>
> 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 = smsR
>
> host = XX.XX.XX.XX
>
> port = XXXX
>
> msg-id-type = 0x03
>
> system-type = type
>
> service-type = 12664
>
> max-pending-submits = 10
>
> smsc-username = USER
>
> smsc-password = PASS
>
> throughput = 100
>
> log-file = "/var/log/kannel/smsR.log"
>
> log-level =3
>
> allowed-smsc-id = smsR
>
> preferred-smsc-id = smsR
>
>
>

Reply via email to