Re: SMS with GSM character set

2009-07-09 Thread BeCauet
Hello Jovan, I have the same problem, my SMS provider does not support the accents (éèà..) in ISO-8859-1, UTF-8, WINDOWS-1252 ... The only way I found is to switch to Unicode UCS-2, but I am limited to 70 characters! Have you found a solution to send GSM 03.38 GSM 7bit has Kannel ??? Help,

Re: SMS with GSM character set

2009-05-26 Thread Hervé Nicol
Hello, Sorry, I just see that thread about a problem I already faced. You say You do too much of the work that kannel wants to do. Fine. But what if the soft that calls Kannel already has a GSM-encoded string? It has to convert it to ISO-8859 or UTF8, so that Kannel can convert it back to GSM?

Re: SMS with GSM character set

2009-05-08 Thread Elton Hoxha
Thanks Jyoti, I will give it a try. Falko, If I use UTF-8 in URL, it should be used with coding = 1, which cause that the content will be delivered in unreadable format for the mobile. Otherwise, If I use ISO-8859-1, i should add coding=2 which encodes it in 16-bit (the characters are normally

Re: SMS with GSM character set

2009-05-08 Thread Elton Hoxha
LEts forget about HTTP Client. When I call send-sms from .NET service, what is the procedure of encoding that suits for kannel? Regards Elton On Fri, May 8, 2009 at 8:19 AM, Elton Hoxha elt...@gmail.com wrote: Thanks Jyoti, I will give it a try. Falko, If I use UTF-8 in URL, it should be

Re: SMS with GSM character set

2009-05-08 Thread Falko Ziemann
Unimportant... Your http-client (if you write some script in .NET it is also a http- client, just a very personal one) states the encoding while connecting and that is the one you must use. That has nothing to do with coding! See: you send UTF-8 string to kannel with coding=0. Than kannel

Re: SMS with GSM character set

2009-05-08 Thread Elton Hoxha
Hi Falko,, Thanks for your comments, I tried what you said and I get 2009-05-08 02:09:50 [5317] [3] ERROR: Failed to convert string from UTF-8 to UTF-8, errno was 84 2009-05-08 02:09:50 [5317] [3] DEBUG: Found an invalid multibyte sequence at position 0 2009-05-08 02:09:50 [5317] [3] DEBUG:

Re: SMS with GSM character set

2009-05-08 Thread Elton Hoxha
I got this error 2009-05-08 02:49:48 [5641] [3] INFO: sendsms sender:test3:ELTON (10.1.21.146) to:355672509006 msg:é 2009-05-08 02:49:48 [5641] [3] DEBUG: Stored UUID 73f6686e-e184-4e3d-986b-32fb88d30878 2009-05-08 02:49:48 [5641] [3] WARNING: Incomplete UTF-8 char discovered, skipped. 2

Re: SMS with GSM character set

2009-05-08 Thread Falko Ziemann
Don't set the charset!!! You there define the output charset, not the input charset and charset UTF-8 with coding 0 is ... well ... The UTF-8 is NOT defined in the URL, your http-client/scipt/whatever defines it for itself in the HTTP-header. Put all that stuff away, just send this:

Re: SMS with GSM character set

2009-05-08 Thread Falko Ziemann
No?! é is %C3%A9 in UTF-8. é is %E9 in RAW encoding. http://kellyjones.netfirms.com/webtools/ascii_utf8_table.shtml Regards Falko Am 08.05.2009 um 10:49 schrieb Elton Hoxha: I got this error 2009-05-08 02:49:48 [5641] [3] INFO: sendsms sender:test3:ELTON (10.1.21.146) to:355672509006 msg:é

Re: SMS with GSM character set

2009-05-08 Thread Elton Hoxha
I tried this: http://10.1.21.137:13014/cgi-bin/sendsms?username=test3password=test3from=ELTONto=355672509006text=%C3%A9coding=0 character is transformed again in kannel Debug logs: 2009-05-08 03:50:23 [5641] [3] INFO: smsbox: Got HTTP request /cgi-bin/sendsms from 10.1.21.146 2009-05-08 03:50:23

Re: SMS with GSM character set

2009-05-08 Thread Jovan Kostovski
On Fri, May 8, 2009 at 12:32 PM, Elton Hoxha elt...@gmail.com wrote: I tried this: http://10.1.21.137:13014/cgi-bin/sendsms?username=test3password=test3from=ELTONto=355672509006text=%C3%A9coding=0 character is transformed again in kannel The characters you are trying to send are not defined in

Re: SMS with GSM character set

2009-05-08 Thread Jovan Kostovski
On Fri, May 8, 2009 at 1:12 PM, Jovan Kostovski chomb...@gmail.com wrote: On Fri, May 8, 2009 at 12:32 PM, Elton Hoxha elt...@gmail.com wrote: I tried this: http://10.1.21.137:13014/cgi-bin/sendsms?username=test3password=test3from=ELTONto=355672509006text=%C3%A9coding=0 character is

Re: SMS with GSM character set

2009-05-08 Thread Elton Hoxha
Hi Jovan, All my tests included GSM 7-bit characters like é or è, I`m not interested in ISO-8859-1. Unfortunately all my efforts are failing...despite your help.. Elton On Fri, May 8, 2009 at 1:14 PM, Jovan Kostovski chomb...@gmail.com wrote: On Fri, May 8, 2009 at 1:12 PM, Jovan Kostovski

Re: SMS with GSM character set

2009-05-08 Thread Falko Ziemann
So, this one: wget http://localhost:13013/cgi-bin/sendsms?username=XXXpassword=XXXto=0049173XXXfrom=0049173XXXtext=%E9 created a sms with é BUT: (my) wget uses the charset ISO-8859-1 where é is %E9. It think the problem is, that the script you use says in the http-header that it uses

Re: SMS with GSM character set

2009-05-07 Thread Falko Ziemann
The deutschland effect. Many operator don't use the original GSM charset, but the so called Mannesmann charset (first used by Mannesmann D2). Due to this most operator ignore the DCS. Ask your provider, if they can activate the original GSM charset for you. Regards Falko Am 06.05.2009 um

Re: SMS with GSM character set

2009-05-07 Thread Elton Hoxha
Hi Falko, We are SMSC provider at the same time :) And we use GSM charset. As I mentioned in another thread, sending these type of characters using 7-bit works from other smpp gateways, but from Kannel fails. Elton On Thu, May 7, 2009 at 9:52 AM, Falko Ziemann fal...@gmail.com wrote: The

Re: SMS with GSM character set

2009-05-07 Thread Latitude Berlin
Are we saying that this is a Kannel bug? - Latitude On Thu, May 7, 2009 at 10:41 AM, Elton Hoxha elt...@gmail.com wrote: Hi Falko, We are SMSC provider at the same time :) And we use GSM charset. As I mentioned in another thread, sending these type of characters using 7-bit works from

Re: SMS with GSM character set

2009-05-07 Thread Falko Ziemann
OK, sorry, I have to admit that I didn't read the whole messages. I just saw that someone from germany has a problem with DCS, which nearly everyone in germany has faced at least once... A hint, that I can give to you, is that some ssh clients can also change the output of the logfile.

Re: SMS with GSM character set

2009-05-07 Thread Falko Ziemann
I don't think so... uh, by the way, I forgot to ask for another classic fault: did you set the mclass switch in the sendsms url as parameter? Regards Falko Am 07.05.2009 um 10:51 schrieb Latitude Berlin: Are we saying that this is a Kannel bug? - Latitude On Thu, May 7, 2009 at 10:41

Re: SMS with GSM character set

2009-05-07 Thread Elton Hoxha
That`s true, But actually Im not saying that in the kannel logs message characters appears different and in the mobile screen in different way. What appears in the logs (like or ?, instead of é ) appears in the mobile as well. Elton On Thu, May 7, 2009 at 10:52 AM, Falko Ziemann

Re: SMS with GSM character set

2009-05-07 Thread Elton Hoxha
Is mclass related with GSM alphabet? I think it is used for flash SMS or other options. I didnt use it in fact. Should I? On Thu, May 7, 2009 at 10:59 AM, Falko Ziemann fal...@gmail.com wrote: I don't think so... uh, by the way, I forgot to ask for another classic fault: did you set the mclass

Re: SMS with GSM character set

2009-05-07 Thread Falko Ziemann
No, but mclass forces special DCS values. So when the mclass switch is set, the alt-dcs parameter is ignored. So, no help for you problem, sorry. Regards Falko Am 07.05.2009 um 11:01 schrieb Elton Hoxha: Is mclass related with GSM alphabet? I think it is used for flash SMS or other

Re: SMS with GSM character set

2009-05-07 Thread Falko Ziemann
Still don't think so. As I run some services in german, I have a lot of ÄÖÜäöüß's passing my kannel without any problem in GSM charset without any problem. So I really think it has something to do with the configuration. Maybe you can post a full debug of the smpp package, kannel is

Re: SMS with GSM character set

2009-05-07 Thread Elton Hoxha
Can you tell me the parameters you are using in send-sms url as you are succeding in sending these characters? Are also other parameters that should be configured in SMSC group? Attached are the debuf for two submit SM. First one using alt-dcs=1, and second one alt-dcs = 0 Thanks Elton On

Re: SMS with GSM character set

2009-05-07 Thread Elton Hoxha
Sorry, in my previous debug I encoded the é character using %E9. Now the encoded value is %05. As you can see in the attached logs, kannel gets empty sms. Regards Elton On Thu, May 7, 2009 at 11:40 AM, Elton Hoxha elt...@gmail.com wrote: Can you tell me the parameters you are using in send-sms

Re: SMS with GSM character set

2009-05-07 Thread Falko Ziemann
I don't get it... why %05? You are talking about the url, aren't you? something like http://blubb/sendsms...text=%05; right? What kind of alphabet is your HTTP-client using??? I bet that your client doesn't speak GSM-alphabet. So when your client says Here I am, I do UTF-8 the text also has

Re: SMS with GSM character set

2009-05-07 Thread Jovan Kostovski
Hi Elton, In the past I was working for a mobile operator and we experienced the same problem, due to some particular ESME character encoding configuration on the SMSC side. For some reason the SMSC was configured to use ASCII charset so we used alt-dcs=1 in the Kannel's smsc-group to correct

Re: SMS with GSM character set

2009-05-07 Thread Jovan Kostovski
On Thu, May 7, 2009 at 1:26 PM, Elton Hoxha elt...@gmail.com wrote: I checked many many times, kannel is sending empty message when i type these special characters. I traced by ethereal the smpp block and there is no text forwarded by kannel to SMSC. Also there is no ascii configuration in SMSC

Re: SMS with GSM character set

2009-05-07 Thread Elton Hoxha
SMPP configuration is simple, I think everybody has it like this group=smsc smsc=smpp smsc-id=internal1 interface-version=34 host=10.x.x.x port=1600 system-id=test smsc-password=test system-type=test transceiver-mode=false address-range=7070 Can anyone please who is able to send these kind of

Re: SMS with GSM character set

2009-05-07 Thread jyotiranjan panda
Hi, in above configuration add alt-charset = ASCII I think you will get the @. Regards Jyoti Ranjan Panda On Thu, May 7, 2009 at 7:48 PM, Elton Hoxha elt...@gmail.com wrote: SMPP configuration is simple, I think everybody has it like this group=smsc smsc=smpp smsc-id=internal1

Re: SMS with GSM character set

2009-05-07 Thread Falko Ziemann
Elton, please read my last mail again. You must not encode the text in the sendsms URL in gsm! You must send the text to kannel in the encoding the http-client tells kannel which characterset it uses, so mostly UTF-8 or Iso-Latin Regards Falko Am 07.05.2009 um 16:18 schrieb Elton Hoxha:

SMS with GSM character set

2009-05-06 Thread Latitude Berlin
Hi, I am sending some text with some german characters like: test chars ÄÖÜ äöü and I dont get the original content on my device. If I use UTF-8, then it works fine. But I wanna use GSM charset for this since Ä, ä, Ö, ö, Ü, ü are are of GMS charset. Kindly advise. Cheers - Latitude

Re: SMS with GSM character set

2009-05-06 Thread Jovan Kostovski
On Wed, May 6, 2009 at 5:32 PM, Latitude Berlin latitude...@googlemail.com wrote: Hi, I am sending some text with some german characters like: test chars ÄÖÜ äöü and I dont get the original content on my device. If I use UTF-8, then it works fine. But I wanna use GSM charset for this since Ä,

Re: SMS with GSM character set

2009-05-06 Thread Elton Hoxha
Hi, I face the same problem: - With alt-dcs = 0 I get the following 2009-05-05 22:22:33 [5168] [3] INFO: sendsms sender:test2:1517 (10.1.21.146) to:35567200 msg: 2009-05-05 22:22:33 [5157] [7] DEBUG: short_message: The content is %00, but kannel converts it to empty space. - With

Re: SMS with GSM character set

2009-05-06 Thread Latitude Berlin
Under which group alt-dcs is to be defined? - Latitude On Wed, May 6, 2009 at 6:17 PM, Elton Hoxha elt...@gmail.com wrote: Hi, I face the same problem: - With alt-dcs = 0 I get the following 2009-05-05 22:22:33 [5168] [3] INFO: sendsms sender:test2:1517 (10.1.21.146) to:35567200 msg:

Re: SMS with GSM character set

2009-05-06 Thread Elton Hoxha
in send-sms url as a parameter On Wed, May 6, 2009 at 6:18 PM, Latitude Berlin latitude...@googlemail.comwrote: Under which group alt-dcs is to be defined? - Latitude On Wed, May 6, 2009 at 6:17 PM, Elton Hoxha elt...@gmail.com wrote: Hi, I face the same problem: - With alt-dcs = 0 I

Re: SMS with GSM character set

2009-05-06 Thread Latitude Berlin
Both dint work for me also:( ... coding=0alt-dcs=1 ... coding=0alt-dcs=0 - Latitude On Wed, May 6, 2009 at 6:20 PM, Elton Hoxha elt...@gmail.com wrote: in send-sms url as a parameter On Wed, May 6, 2009 at 6:18 PM, Latitude Berlin latitude.de@ googlemail.com wrote: Under which group