Hi,

I'm having some trouble sending messages with Kannel.
The message is displayed as a hex string. If "Hi!" is sent, the device
receives "486921" as the text.
This happens always with gsm modems, and depending on the phone the message
arrives decoded.

I'm connecting to kannel from a java app with httpclient.
Kannel is connected to a gateway like clickatell through SMPP.
I'm using kannel 1.4.3 on CentOS 5. Libxml is 2.6.26.

What could be wrong? Kannel config parameter? HttpClient parameter? Any
directions?

Thanks,

kannel.conf
------------------------------------------------------------------------
group = core
admin-port = 13000
admin-password = ********
status-password = ********
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1"
smsbox-port = 13001
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
log-level = 1

include = "/etc/kannel/mysmpp.conf"

group = smsbox
bearerbox-host = localhost
sendsms-port = 13200
log-file = "/var/log/kannel/smsbox.log"
log-level = 1

group = sendsms-user
username = ********
password = ********
user-allow-ip = "127.0.0.1"
max-messages = 1

group = sms-service
keyword = default
catch-all = true
max-messages = 0
omit-empty = true
get-url = "
http://localhost/myapp?from=%P&to=%p&text=%b&smsc=%i&charset=%C&coding=%c";


mysmpp.conf
------------------------------------------------------------------------
group = smsc
smsc = smpp
smsc-id = mysmpp
allowed-smsc-id = mysmpp
host = mysmpp.com
port = 5555
receive-port = 5555
smsc-username = "********"
smsc-password = "********"
system-type = "CMT"
log-file = "/var/log/kannel/mysmpp.log"
log-level = 1



-------------------------------------
Eduardo Bobsin Machado

Reply via email to