Re: receiving incoming messages

2011-05-22 Thread Nikos Balkanas
Hi, You are using the auto configuration. This is obviously not appropriate for receiving MOs. To do this, you need to configure init-string and CNMI. There is a section in UG. Read about it. BR, Nikos - Original Message - From: Amirali Shambayati amirali.shambay...@gmail.com To:

sqlbox and åäö

2011-05-22 Thread Andreas Bergman
Hi! When sending åäö in messages thrugh sqlbox they are changed to ?? i assume this has something to do with unicode chars? The system is en_EN.UTF-8 and in the database it looks correct, is Stipes unicodepatch the solution or? Br Andreas -- Andreas Bergman www.abergman.se 0708-768300

Re: sqlbox and ���

2011-05-22 Thread Nikos Balkanas
Hi, there was a long discussion about it in the list for the past 2 weeks. I believe Renee mentioned that sqlbox was patched. Please download latest sqlbox and retry. BR, Nikos - Original Message - From: Andreas Bergman To: users@kannel.org Sent: Sunday, May 22, 2011 1:36 PM

Re: sqlbox and åäö

2011-05-22 Thread Andreas Bergman
I'm running the latest cvs version, with the unicode fix. The MySQL tables are changed to utf8 and charset is set to utf8 when sending the message. The bblog looks like this when inserting a message into send_sms with msgdata 'åäö' 2011-05-22 15:00:01 [12051] [13] DEBUG: boxc_receiver: sms

RE: sqlbox and åäö

2011-05-22 Thread Rene Kluwen
Try to urlencode the message before inserting. From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Andreas Bergman Sent: Sunday, 22 May, 2011 15:01 To: us...@vm1.kannel.org Subject: Re: sqlbox and åäö I'm running the latest cvs version, with the unicode fix. The

Re: sqlbox and åäö

2011-05-22 Thread Andreas Bergman
I tried that using the php urlencode function but i only got the urlencoded message sent to me. 2011/5/22 Rene Kluwen rene.klu...@chimit.nl Try to urlencode the message before inserting. *From:* users-boun...@kannel.org [mailto:users-boun...@kannel.org] *On Behalf Of *Andreas Bergman

Re: sqlbox and ���

2011-05-22 Thread Nikos Balkanas
Hi, Depends on the flow: sqlbox - smsbox - bb -smsc needs urlencoding sqlbox - bb -smsc doesn't. Which version do you use? BR, Nikos - Original Message - From: Andreas Bergman To: Rene Kluwen Cc: us...@vm1.kannel.org Sent: Sunday, May 22, 2011 4:31 PM Subject: Re: sqlbox and εδφ

Re: sqlbox and ���

2011-05-22 Thread Nikos Balkanas
In the second case you should UTF-8 your text before inserting it to the DB. PS: Latest sqlbox is svn version, not cvs. BR, Nikos - Original Message - From: Nikos Balkanas nbalka...@gmail.com To: Andreas Bergman andr...@abergman.se; Rene Kluwen rene.klu...@chimit.nl Cc:

Re: sqlbox and åäö

2011-05-22 Thread Andreas Bergman
I thought the flow was smsbox-sqlbox-bb-smsc since the smsbox is connecting to a bb port defined in sqbox, or am I wrong? Anyway, i tried both and the result is the same. But, if i set alt-charset for the SMSC (which uses GSM 3.38) the ? is replaced by 'eev'. As I understand kannel uses libiconv

Re: sqlbox and ���

2011-05-22 Thread Nikos Balkanas
You are absolutely right. There are 2 valid sqlbox configurations: smsbox-sqlbox-bb-smsc and smsbox sqlbox- bb - smsc Sorry, before I got confused about the urlencoding comment. In both cases text inserted to the DB should be UTF-8 (I haven't seen the source, though). libiconv is used

Re: Re: sqlbox and ���

2011-05-22 Thread Mike Nakos
Hi Andreas, please read sqlbox greek gsm-7 thread sent at Fri May 13 18:41:38 CEST 2011. In that case we wanted to send @ΔΦΓΛ by inserting on msgdata field '%00%10%12%13%14'. In your case, according to http://en.wikipedia.org/wiki/GSM_03.38 you must insert '%0F%7B%7C'. Except the way to insert

RE: Re: sqlbox and ���

2011-05-22 Thread Rene Kluwen
Also: Use latest svn version or otherwise it won’t work. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Mike Nakos Sent: Sunday, 22 May, 2011 17:20 To: Andreas Bergman Cc: users@kannel.org Subject: Re: Re: sqlbox and ��� Hi Andreas, please read

Re: gsm7 send messages 140 =160 chars length

2011-05-22 Thread Nicolas de Bari Embriz Garcia Rojas
Hi, please find bellow the 3 different outputs of the SMPP PDU log This one is using urlencode('@ñé'); (message are not properly displayed on the phone but kannel send 3 chars as supposed based on the GSM charset: (smsc has NO alt-charset = UTF-8) and seems text=%40%C3%B1%C3%A9coding=0 --

Re: gsm7 send messages 140 =160 chars length

2011-05-22 Thread Nikos Balkanas
Hi, 1) Output is correct GSM and kannel sends it out correctly. You should contact your SMSc to see if they support GSM and if they do, why it is not displaying correctly on the mobile. Try also text==%00%7D%05coding=0. Should work and it is fewer characters to type. 2) data_coding 241 is for

Re: gsm7 send messages 140 =160 chars length

2011-05-22 Thread Nikos Balkanas
Hi, Actually I just had a look at the smsbox.c code. It doesn't support gsm in cgi-bin/sendsms. That's why (2) comes out garbled. You should provide iso or utf-8 text urlencoded. Why your mobile doesn't display it correctly, it is a question of either your mobile's settings, or your SMScs.

RE: gsm7 send messages 140 =160 chars length

2011-05-22 Thread Rene Kluwen
Afaik, gsm was last supported in Kannel 1.4.1. That's why I know some people are still using that version. == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Nikos Balkanas Sent: Sunday, 22 May, 2011 23:28 To: Nicolas de Bari Embriz

Re: gsm7 send messages 140 =160 chars length

2011-05-22 Thread Nicolas de Bari Embriz Garcia Rojas
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 = 0x DEBUG: sm_default_msg_id: 0 = 0x

Re: gsm7 send messages 140 =160 chars length

2011-05-22 Thread Nikos Balkanas
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=0charset=iso-8859-7alt-dcs=1 and comment out alt-charset in your configuration.

Re: gsm7 send messages 140 =160 chars length

2011-05-22 Thread Nikos Balkanas
Interesting no one has requested for it... BR, Nikos - Original Message - From: Rene Kluwen rene.klu...@chimit.nl To: 'Nikos Balkanas' nbalka...@gmail.com; 'Nicolas de Bari Embriz Garcia Rojas' nb...@backup.sh; us...@vm1.kannel.org Sent: Monday, May 23, 2011 1:54 AM Subject: RE: gsm7