Yes it works now. Thanks Guys J.

 

From: Thomas Göttgens [mailto:tho...@ist.schuldig.de] 
Sent: Tuesday, June 09, 2009 1:10 PM
To: Remon
Cc: us...@vm1.kannel.org
Subject: Re[2]: 7bit encoded messages

 

Hello Remon,

 

try

 
<http://10.10.10.7:13013/cgi-bin/sendsms?user=test&pass=test&from=111&to=XXX
XXXX&udh=05%00%03%AD%02%02&text=5678>
http://XX.XX.XX.XX:13013/cgi-bin/sendsms?user=test&pass=test&from=111&to=XXX
XXXX&udh=%05%00%03%AD%02%02&text=5678

 

the % in front of 05 is missing.

 

Tuesday, June 9, 2009, 11:55:32 AM, you wrote:

 

        
Hi I tried this but it says UDH is not correct L

 

http://XX.XX.XX.XX:13013/cgi-bin/sendsms?user=test&pass=test&from=111&to=XXX
XXXX&udh=05%00%03%AD%02%01&text=1234

 
<http://10.10.10.7:13013/cgi-bin/sendsms?user=test&pass=test&from=111&to=XXX
XXXX&udh=05%00%03%AD%02%02&text=5678>
http://XX.XX.XX.XX:13013/cgi-bin/sendsms?user=test&pass=test&from=111&to=XXX
XXXX&udh=05%00%03%AD%02%02&text=5678

 

Regards,

Remon

 

From: Falko Ziemann [mailto:fal...@gmail.com] 

Sent: Tuesday, June 09, 2009 12:32 PM

To: Remon

Cc: 'Nikos Balkanas'; users@kannel.org

Subject: Re: 7bit encoded messages

 

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> mailto:fal...@gmail.com] 

Sent: Tuesday, June 09, 2009 11:40 AM

To: Nikos Balkanas

Cc: Remon;  <mailto:users@kannel.org> 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:  <mailto:re...@interact.mobi> Remon

To:  <mailto:nbalka...@gmail.com> 'Nikos Balkanas'

Cc:  <mailto:users@kannel.org> 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>
http://www.dreamfabric.com/sms/hello.html

 

 

From: Nikos Balkanas [ <mailto:nbalka...@gmail.com>
mailto:nbalka...@gmail.com] 

Sent: Monday, June 08, 2009 3:30 AM

To: Remon

Cc:  <mailto:users@kannel.org> users@kannel.org

Subject: Re: 7bit encoded messages

 

Hi,

 

Use &coding=0 in your URL.

 

BR,

Nikos

----- Original Message -----

From:  <mailto:re...@interact.mobi> Remon

To:  <mailto:users@kannel.org> 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,

 

 

 

 

 

 

 

 

-- 

Best regards,

 Thomas                             <mailto:tho...@ist.schuldig.de>
mailto:tho...@ist.schuldig.de

Reply via email to