Hi,

I realized that after reading the docs some hours ago.
The question now is: how can I send latin characters and the device
interpreting it correctly as a text string and not as a hex string or binary
content?

Thanks,
-------------------------------------
Eduardo Bobsin Machado


2009/6/5 Nikos Balkanas <nbalka...@gmail.com>

>  Hi,
>
> Coding=0 corresponds to 7bit SMS. You cannot have accents in 7bit ASCII.
> Coding = 1 is 8bits (you had it right all along) and coding = 2 is UTF.
>
> BR,
> Nikos
>
> ----- Original Message -----
> *From:* Eduardo Bobsin <eduardo.bob...@gmail.com>
> *To:* users@kannel.org
> *Sent:* Friday, June 05, 2009 9:51 PM
> *Subject:* Re: Hex content
>
> Hi,
>
> Sorry folks, this was a bit lame... I got my own answer... :)
> I was using coding=1. When I changed to coding=0 I got the right content
> delivered to the phone.
>
> Now I have another problem. Characters with accent are received as a
> question mark or as a blank space.
> I'm using charset=iso-8859-1.
>
> Thanks,
>
> -------------------------------------
> Eduardo Bobsin Machado
>
>
> On Fri, Jun 5, 2009 at 3:24 PM, Eduardo Bobsin 
> <eduardo.bob...@gmail.com>wrote:
>
>> 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