Just add the field UDH.
So send the text als normal:
sms=I+am+messagepart+1
udh=%00%AB%02%01

then:
sms=I+am+messagepart+2
udh=%00%AB%02%02

I could not test this currently, but should work.

Regards
Falko

Am 09.06.2009 um 11:12 schrieb Remon:

Thanks Falko,

I will tell you my problems, I need to send long concatenated messages from kannel, I found that I should encode the messages to 7bit and add the header before sending them, have been searching a while on this point with no success, I need a working example to follow but unfortunately I’m unable to find any.

Please note that I need to handle text message fragmentation from my application and not from Kannel.

Regards,
Remon


From: Falko Ziemann [mailto:fal...@gmail.com]
Sent: Tuesday, June 09, 2009 11:40 AM
To: Nikos Balkanas
Cc: Remon; users@kannel.org
Subject: Re: 7bit encoded messages

Nikos: use lynx for suspicious URLs ;-)

I think you (remon) make a major mistake in your thoughts how kannel works. When you set coding=0 kannels _output_ is 7bit. The charset of the _input_ is defined in the HTTP-header of the client triggering kannel. So you can use, let's say, UTF-16 in the URL and when you set coding=0 kannel makes it 7bit. But when you send something like "%E8%32%" and you client claims "this is UTF-8" and then kannel tries to translate it to 7bit you get ....strange.... results.

Regards
Falko

Am 09.06.2009 um 01:07 schrieb Nikos Balkanas:


Hi,

I am very sceptic when using unknown URLs. Could you please describe in mail?

BR,
Nikos
----- Original Message -----
From: Remon
To: 'Nikos Balkanas'
Cc: users@kannel.org
Sent: Tuesday, June 09, 2009 1:49 AM
Subject: RE: 7bit encoded messages

The below URL is an example of 7bit encoded text, when I send it using coding=0 I receive trash on my phone. I think I’m missing something here.

http://www.dreamfabric.com/sms/hello.html


From: Nikos Balkanas [mailto:nbalka...@gmail.com]
Sent: Monday, June 08, 2009 3:30 AM
To: Remon
Cc: users@kannel.org
Subject: Re: 7bit encoded messages

Hi,

Use &coding=0 in your URL.

BR,
Nikos
----- Original Message -----
From: Remon
To: users@kannel.org
Sent: Monday, June 08, 2009 1:32 AM
Subject: 7bit encoded messages

Hi,

How can I send 7bit encoded text messages using Kannel’s http send interface?

Thanks,




Reply via email to