Absolutely not. According to your logs, kannel sends gsm fine. It is not a kannel problem. It is a matter of your smsc or your mobile's settings.

BR,
Nikos
----- Original Message ----- From: "Nicolas de Bari Embriz Garcia Rojas" <[email protected]>
To: "Nikos Balkanas" <[email protected]>
Cc: <[email protected]>
Sent: Monday, May 23, 2011 8:40 PM
Subject: Re: gsm7 send messages > 140 <=160 chars length


Hi, same results, could it be something on 1.5 dev version ?

regards.

2011/5/23 Nikos Balkanas <[email protected]>:
Hi,

1) Test sending it from your browser directly, without php.
2) To send iso, you just type in regular text and specify coding and
charset. You don't need to sent binary. I.e. for Greek:

&text=abcdΑΒΓΔΕΖ&coding=0&charset=iso-8859-7&alt-dcs=1

and comment out alt-charset in your configuration.

BR,
Nikos
----- Original Message ----- From: "Nicolas de Bari Embriz Garcia Rojas"
<[email protected]>
To: "Nikos Balkanas" <[email protected]>
Cc: <[email protected]>
Sent: Monday, May 23, 2011 3:41 AM
Subject: Re: gsm7 send messages > 140 <=160 chars length


Currently I am using php urlencode or url utf8_decode and coding=0
but can not make it work

I get the following also testing with out using alt-charset = "UTF-8"
on the smsc

&text=%40%F1%E9 (ISO) using utf8_decode

DEBUG: data_coding: 0 = 0x00000000
DEBUG: sm_default_msg_id: 0 = 0x00000000
DEBUG: sm_length: 2 = 0x00000002
DEBUG: short_message:
DEBUG: Octet string at 0x80240d600:
DEBUG: len: 2
DEBUG: size: 4
DEBUG: immutable: 0
DEBUG: data: 00 7d .}
DEBUG: Octet string dump ends.


and
text=%40%C3%B1%C3%A9 (UTF-8) using urlencode

DEBUG: data_coding: 0 = 0x00000000
DEBUG: sm_default_msg_id: 0 = 0x00000000
DEBUG: sm_length: 3 = 0x00000003
DEBUG: short_message:
DEBUG: Octet string at 0x802077280:
DEBUG: len: 3
DEBUG: size: 6
DEBUG: immutable: 0
DEBUG: data: 00 7d 05 .}.
DEBUG: Octet string dump ends.
DEBUG: SMPP PDU dump ends.


for making the chars to appear correctly I just had to set alt-charset
= "UTF-8" on the smsc otherwise networking.

and use urlencode('@Γ±Γ©);

&text=%40%C3%B1%C3%A9&coding=0.

that outputs:

DEBUG: data_coding: 0 = 0x00000000
DEBUG: sm_default_msg_id: 0 = 0x00000000
DEBUG: sm_length: 5 = 0x00000005
DEBUG: short_message:
DEBUG: Octet string at 0x80220f100:
DEBUG: len: 5
DEBUG: size: 6
DEBUG: immutable: 0
DEBUG: data: 40 c3 b1 c3 a9 @....
DEBUG: Octet string dump ends.


regards.



[..snip..]



Reply via email to