Receive Unicode Messages

2001-12-11 Thread Raymond Chen



Hi list,anyone tried to receive unicode 
message from http-smsc setup? I have setup the KANNEL to receive the 
unicode message and send it through another network's http interface with the 
original message body, just like message relay. But when I do that the 
message is no encoded in unicode format. anyone know how to get it 
done?access.log :2001-12-12 01:38:16 SMS 
HTTP-request sender:85298130768 request: '0460013' url: 
'http://sms..net/sendmsg.asp?charset=ISO-8859-1coding=3SendFrom=SendCont=%80%03%91%CF%5BPO%86%81%EAUserType=30MsgGrade=0MsgType=104Referyes=1Appendtype=0Receiverinfo=13702369248Submit=Submit'reply: 
200 ' successful '

Thanks

Raymond



RE: Unicode messages

2001-09-04 Thread Paul Keogh

 If other smsc's use standard dcs as of ETSI 03.38, they could just
 use  dcs = fields_to_dcs(msg, 0);  and fields_to_dcs(dcs, msg);
 when receiving a message.
 
 I've patched all other smsc_*.c code (I hope I didn't introduce bugs )
 so they already parse coding = DC_8BIT and coding = DC_UCS2 just
 like flag_8bit before.
 

Why do you need to call the fields_to_dcs() function for each smsc_
in the bearer box ? Maybe its more efficient to call it once on
message creation in the sms box and carry the DCS across in the Msg
struct from the sms box to the bearer box ? This also has the
architecturally desirable effect of removing *service* elements
(ie. flash, compress, mwi etc) from the Msg struct and replacing
them with a single relevant protocol value. The services can then
be mapped to and from the dcs Msg value at the point of interest
(ie. the sms box).

Given that Kannel is a distributed architecture, minimising the Msg
struct should be an efficiency goal.

A complaint about the ChangeLog - several recent entries have omitted
the module names when describing changes. This makes it next to
impossible to review changes.

 





Re: Unicode messages

2001-09-04 Thread Bruno David Rodrigues

I did use several fields instead of a direct DCS value because some smsc's
dont use it directly (I recall one sms'c that besides 7 and 8 bits, accepted
text in IA5 or something like that)

Sorry about the changelog.

- Original Message -
From: Paul Keogh [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 04, 2001 3:11 PM
Subject: RE: Unicode messages


  If other smsc's use standard dcs as of ETSI 03.38, they could just
  use  dcs = fields_to_dcs(msg, 0);  and fields_to_dcs(dcs, msg);
  when receiving a message.
 
  I've patched all other smsc_*.c code (I hope I didn't introduce bugs )
  so they already parse coding = DC_8BIT and coding = DC_UCS2 just
  like flag_8bit before.
 

 Why do you need to call the fields_to_dcs() function for each smsc_
 in the bearer box ? Maybe its more efficient to call it once on
 message creation in the sms box and carry the DCS across in the Msg
 struct from the sms box to the bearer box ? This also has the
 architecturally desirable effect of removing *service* elements
 (ie. flash, compress, mwi etc) from the Msg struct and replacing
 them with a single relevant protocol value. The services can then
 be mapped to and from the dcs Msg value at the point of interest
 (ie. the sms box).

 Given that Kannel is a distributed architecture, minimising the Msg
 struct should be an efficiency goal.

 A complaint about the ChangeLog - several recent entries have omitted
 the module names when describing changes. This makes it next to
 impossible to review changes.










RE: Unicode messages

2001-09-04 Thread Paul Keogh


 
 I did use several fields instead of a direct DCS value 
 because some smsc's
 dont use it directly (I recall one sms'c that besides 7 and 8 
 bits, accepted
 text in IA5 or something like that)
 

As far as I can see, only one SMSC (OIS) can't use it directly.
All the others (AT,SMPP,CIMD2,EMI) can. And even the OIS case
could be cracked with a single bitwise operation.





Re: Unicode messages

2001-09-03 Thread Bruno David Rodrigues



Try latest cvs with
http://.text=ãäÜôêcharset=ISO-8859-1coding=3


  - Original Message - 
  From: 
  Alexei 
  Pashkovsky 
  To: [EMAIL PROTECTED] 
  Sent: Sunday, August 26, 2001 3:19 
  PM
  Subject: Unicode messages
  
  Hi all,
  anyone tried sending unicode text with Kannel 
  ?
  I want to send messages using hebrew and other 
  alphabets, but the most urgent are messages with special letters from european 
  alphabets, like german, french, spanish etc (Üôê) 

  Any tips ?


Re: Unicode messages

2001-09-03 Thread Alexei Pashkovsky



Did not work for me ..
where was this added ?
I am using 1.1.4 stable at the moment.


  - Original Message - 
  From: 
  Bruno David Rodrigues 
  To: Alexei Pashkovsky ; [EMAIL PROTECTED] 
  Sent: Monday, September 03, 2001 2:09 
  PM
  Subject: Re: Unicode messages
  
  Try latest cvs with
  http://.text=ãäÜôêcharset=ISO-8859-1coding=3
  
  
- Original Message - 
From: 
Alexei 
Pashkovsky 
To: [EMAIL PROTECTED] 
Sent: Sunday, August 26, 2001 3:19 
PM
Subject: Unicode messages

Hi all,
anyone tried sending unicode text with Kannel 
?
I want to send messages using hebrew and other 
alphabets, but the most urgent are messages with special letters from 
european alphabets, like german, french, spanish etc (Üôê) 

Any tips 
?


Re: Unicode messages

2001-09-03 Thread Bruno David Rodrigues

was added last saturday!
  - Original Message -
  From: Alexei Pashkovsky
  To: [EMAIL PROTECTED]
  Sent: Monday, September 03, 2001 1:17 PM
  Subject: Re: Unicode messages


  Did not work for me ..
  where was this added ?
  I am using 1.1.4 stable at the moment.

- Original Message -
From: Bruno David Rodrigues
To: Alexei Pashkovsky ; [EMAIL PROTECTED]
Sent: Monday, September 03, 2001 2:09 PM
Subject: Re: Unicode messages


Try latest cvs with
http://.text=ãäÜôêcharset=ISO-8859-1coding=3

  - Original Message -
  From: Alexei Pashkovsky
  To: [EMAIL PROTECTED]
  Sent: Sunday, August 26, 2001 3:19 PM
  Subject: Unicode messages


  Hi all,
  anyone tried sending unicode text with Kannel ?
  I want to send messages using hebrew and other alphabets, but the most
urgent are messages with special letters from european alphabets, like
german, french, spanish etc (Üôê)
  Any tips ?





Re: Unicode messages

2001-09-03 Thread Bruno David Rodrigues

Most of the code belongs to smsbox.c (field parsing, etc).

Unicode text are sent on utf-16be double byte chars, so it's just like
passing 8bit code to smsc_*.c.

Then smsc_* have to be able to process the DCS sms field.
Emi2 and AT are already working. (I'm now checking smsc_http)
Other smsc's should change their code. (someone please do it and test
them ?)

If other smsc's use standard dcs as of ETSI 03.38, they could just
use  dcs = fields_to_dcs(msg, 0);  and fields_to_dcs(dcs, msg);
when receiving a message.

I've patched all other smsc_*.c code (I hope I didn't introduce bugs )
so they already parse coding = DC_8BIT and coding = DC_UCS2 just
like flag_8bit before.

When someone code the dcs_to_fields in other smsc's, and if smsc are
more or less standard, flash (message class), mwi (message waiting
indicator)
and unicode should automagically work.

- Original Message -
From: Alexei Pashkovsky [EMAIL PROTECTED]
To: Bruno David Rodrigues [EMAIL PROTECTED]
Sent: Monday, September 03, 2001 3:39 PM
Subject: Re: Unicode messages


 on which modules ?
 or is it on all together ?

 - Original Message -
 From: Bruno David Rodrigues [EMAIL PROTECTED]
 To: Alexei Pashkovsky [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Monday, September 03, 2001 3:58 PM
 Subject: Re: Unicode messages


 was added last saturday!
   - Original Message -
   From: Alexei Pashkovsky
   To: [EMAIL PROTECTED]
   Sent: Monday, September 03, 2001 1:17 PM
   Subject: Re: Unicode messages


   Did not work for me ..
   where was this added ?
   I am using 1.1.4 stable at the moment.

 - Original Message -
 From: Bruno David Rodrigues
 To: Alexei Pashkovsky ; [EMAIL PROTECTED]
 Sent: Monday, September 03, 2001 2:09 PM
 Subject: Re: Unicode messages


 Try latest cvs with
 http://.text=ãäÜôêcharset=ISO-8859-1coding=3

   - Original Message -
   From: Alexei Pashkovsky
   To: [EMAIL PROTECTED]
   Sent: Sunday, August 26, 2001 3:19 PM
   Subject: Unicode messages


   Hi all,
   anyone tried sending unicode text with Kannel ?
   I want to send messages using hebrew and other alphabets, but the
most
 urgent are messages with special letters from european alphabets, like
 german, french, spanish etc (Üôê)
   Any tips ?







Unicode messages

2001-08-26 Thread Alexei Pashkovsky



Hi all,
anyone tried sending unicode text with Kannel 
?
I want to send messages using hebrew and other 
alphabets, but the most urgent are messages with special letters from european 
alphabets, like german, french, spanish etc (Üôê) 
Any tips ?
 smime.p7s


Re: Unicode messages

2001-08-26 Thread Andreas Fink
Title: Re: Unicode messages


Hi
all,
anyone tried
sending unicode text with Kannel ?
I want to
send messages using hebrew and other alphabets, but the most urgent
are messages with special letters from european alphabets, like
german, french, spanish etc (Üôê)
Any tips
?




for german umlauts and most accented characters you dont need
unicode support. You simply send them to kannel in ISO format and they
get converted on the fly.

For thigns like arabic etc, you need unicode. The CVS version has
support for it by sending the hexadecimal bytes of unicode into the
text and appending unicode=1. That was a patch by Bruno. We have
to change the way how we tell kannel what kind of character set the
text is in etc but for that we probably have to do a developers
meeting once because we have to define a few architectural things
first to avoid creating a mess in the future.

-- 


Andreas Fink
Fink-Consulting

--
Tel: +41-61-6932730 Fax: +41-61-6932729 Mobile:
+41-79-2457333
Address: A. Fink, Schwarzwaldallee 16, 4058 Basel, Switzerland
E-Mail: [EMAIL PROTECTED] Homepage:
http://www.finkconsulting.com
--
Something urgent? Try http://www.smsrelay.com/ Nickname
afink