Re: Help needed for sending Utf-8 characters using Kannel

2010-02-24 Thread Nikos Balkanas
Yes, but in doing so you waste half of the SMS capacity. With Jovan's sugestion 
you don't.

BR,
Nikos
  - Original Message - 
  From: preeteesh kakkar 
  To: Jovan Kostovski 
  Cc: users@kannel.org 
  Sent: Wednesday, February 24, 2010 9:52 AM
  Subject: Re: Help needed for sending Utf-8 characters using Kannel


  Hi Jovan,

  Thanks for your reply. I understand what you mean but what i have decided now 
is to actually do Percent encoding for URIs for text message. Doing this will 
help send message in any language.

  I did same  used http interface of kannel  it works fine for sending any 
symbol's Euro or chinese language symbol etc though i have to set coding=2  
charset=utf-8.  For example 

  
http://ip:13013/cgi-bin/sendsms?username=testpassword=testto=11smsc=testsmscfrom=12345text=%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%ACcoding=2charset=UTF-8


  But if i do same using sqlbox it doesn't works fine. Can you kindly help ?


  On Wed, Feb 24, 2010 at 1:14 PM, Jovan Kostovski chomb...@gmail.com wrote:

On Wed, Feb 24, 2010 at 8:05 AM, preeteesh kakkar

preeteesh.kak...@gmail.com wrote:

 Hi Kiran,

 I have already read this document  have played with setting alt-dcs as 1 
as
 well as alt-charset i can get ññ to work fine but not the Euro Sign.


The Euro sign is not defined in the defaut 7bit GSM 03.38. For the Euro sign
you have to use ISO-8859 charset.
This means you'll have to use ISO-8859 encoding for the message text.
alt-dcs = 0 and set the proper codes for these characters.

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

BR, Jovan




Re: Help needed for sending Utf-8 characters using Kannel

2010-02-24 Thread preeteesh kakkar
Nikos,

Yes correct but then would Jovan suggestion work for Greek, Chinese, Hindi 
lets say any other character set?

Also did you got any idea about issue i am facing while using sqlbox?

On Wed, Feb 24, 2010 at 1:30 PM, Nikos Balkanas nbalka...@gmail.com wrote:

  Yes, but in doing so you waste half of the SMS capacity. With Jovan's
 sugestion you don't.

 BR,
 Nikos

 - Original Message -
  *From:* preeteesh kakkar preeteesh.kak...@gmail.com
 *To:* Jovan Kostovski chomb...@gmail.com
 *Cc:* users@kannel.org
 *Sent:* Wednesday, February 24, 2010 9:52 AM
 *Subject:* Re: Help needed for sending Utf-8 characters using Kannel

 Hi Jovan,

 Thanks for your reply. I understand what you mean but what i have decided
 now is to actually do Percent encoding for URIs for text message. Doing this
 will help send message in any language.

 I did same  used http interface of kannel  it works fine for sending any
 symbol's Euro or chinese language symbol etc though i have to set coding=2 
 charset=utf-8.  For example


 http://ip:13013/cgi-bin/sendsms?username=testpassword=testto=11smsc=testsmscfrom=12345text=%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%ACcoding=2charset=UTF-8


 But if i do same using sqlbox it doesn't works fine. Can you kindly help ?

 On Wed, Feb 24, 2010 at 1:14 PM, Jovan Kostovski chomb...@gmail.comwrote:

 On Wed, Feb 24, 2010 at 8:05 AM, preeteesh kakkar
 preeteesh.kak...@gmail.com wrote:
  Hi Kiran,
 
  I have already read this document  have played with setting alt-dcs as
 1 as
  well as alt-charset i can get ññ to work fine but not the Euro Sign.

 The Euro sign is not defined in the defaut 7bit GSM 03.38. For the Euro
 sign
 you have to use ISO-8859 charset.
 This means you'll have to use ISO-8859 encoding for the message text.
 alt-dcs = 0 and set the proper codes for these characters.

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

 BR, Jovan





Re: Help needed for sending Utf-8 characters using Kannel

2010-02-24 Thread Jovan Kostovski
On Wed, Feb 24, 2010 at 9:06 AM, preeteesh kakkar
preeteesh.kak...@gmail.com wrote:
 Nikos,

 Yes correct but then would Jovan suggestion work for Greek, Chinese, Hindi 
 lets say any other character set?

As Nikos pointed out, If you want to save on payload (number of
characters that you can send in one sms)
and use the same service to send in different character sets the
wisest solution would be to
set alt-dcs, coding, charset and every other relevant parameter on per
sms basis. Just specify these
parameters in the cgi-bin/sendsms url.

This means when you want to use Greek characters you'll use the
default GSM 7 alphabet (alt-dcs = 0
or alt-dcs = 1 depending on the default alphabet used by the SMSC),
for Chinese and Hindi use UTF-8
encoding (charset =utf-8 coding = 2).

BR, Jovan



SMS from phone to another through smsc

2010-02-24 Thread Antti Rikman

Hi All,

I wonder if it is possible to 
  send messages from one phone to another through my smsc?
If it is possible 
  how should I do it?

BR,
Antti
  
_
Hotmail: Powerful Free email with security by Microsoft.
https://signup.live.com/signup.aspx?id=60969

Re: SMS from phone to another through smsc

2010-02-24 Thread Jovan Kostovski
On Wed, Feb 24, 2010 at 1:22 PM, Antti Rikman katupa...@hotmail.com wrote:
 I wonder if it is possible to send messages from one phone to another
 through my smsc?

What do you refer to as my smsc? Kannel is SMPP client (SMS
gateway), not a SMSC.

When you are sending a message the flow is:
Sender's phone - Sender's SMSC - Receivers SMSC - Receiver phone

When you use Kannel for the same scenario:
Sender's phone - Sender's SMSC - Receivers SMSC - GSM Modem or SMPP
connection - Kannel - Application for processing of the messages

The message flow is the same in both cases (kannel acts like
receiver's mobile phone from the first case).

If you just want to send a message from one to another mobile phone do
it directly ;)

Can you explain what do you want to achieve?

BR, Jovan



RE: SMS from phone to another through smsc

2010-02-24 Thread Antti Rikman

Well, I'm trying to ask if I could use Kannel and my mobile phone acting like 
SMSC, but I guess that is not possible, right? :)

Maybe I should not think and do it directly as you said :)

BR
Antti

 Date: Wed, 24 Feb 2010 13:59:56 +0100
 Subject: Re: SMS from phone to another through smsc
 From: chomb...@gmail.com
 To: katupa...@hotmail.com
 CC: users@kannel.org
 
 On Wed, Feb 24, 2010 at 1:22 PM, Antti Rikman katupa...@hotmail.com wrote:
  I wonder if it is possible to send messages from one phone to another
  through my smsc?
 
 What do you refer to as my smsc? Kannel is SMPP client (SMS
 gateway), not a SMSC.
 
 When you are sending a message the flow is:
 Sender's phone - Sender's SMSC - Receivers SMSC - Receiver phone
 
 When you use Kannel for the same scenario:
 Sender's phone - Sender's SMSC - Receivers SMSC - GSM Modem or SMPP
 connection - Kannel - Application for processing of the messages
 
 The message flow is the same in both cases (kannel acts like
 receiver's mobile phone from the first case).
 
 If you just want to send a message from one to another mobile phone do
 it directly ;)
 
 Can you explain what do you want to achieve?
 
 BR, Jovan
  
_
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969

Re: SMS from phone to another through smsc

2010-02-24 Thread Jovan Kostovski
On Wed, Feb 24, 2010 at 2:14 PM, Antti Rikman katupa...@hotmail.com wrote:
 Well, I'm trying to ask if I could use Kannel and my mobile phone acting
 like SMSC, but I guess that is not possible, right? :)

Yes, you can use your mobile phone like na smsc.
See the GSM modem part in the user guide.

BR, Jovan



Re: SMS from phone to another through smsc

2010-02-24 Thread Nikos Balkanas
However, when you send out an SMS from your mobile, it will go through your 
provider's SMSc not kannel (or its attached modem). This is hardwired when 
you buy the service.


BR,
Nikos
- Original Message - 
From: Jovan Kostovski chomb...@gmail.com

To: Antti Rikman katupa...@hotmail.com
Cc: users@kannel.org
Sent: Wednesday, February 24, 2010 3:26 PM
Subject: Re: SMS from phone to another through smsc


On Wed, Feb 24, 2010 at 2:14 PM, Antti Rikman katupa...@hotmail.com 
wrote:

Well, I'm trying to ask if I could use Kannel and my mobile phone acting
like SMSC, but I guess that is not possible, right? :)


Yes, you can use your mobile phone like na smsc.
See the GSM modem part in the user guide.

BR, Jovan