No, please don't do that. Kannel does this for you transparently. Doing it 
twice would be bad. You just make sure that the characters fed to kannel are 
true 7bit ASCII, when using coding=0, i.e. no accents, no unicode.

How kannel will encode & transmit that information over the network is kannel's 
problem.

BR,
Nikos
  ----- Original Message ----- 
  From: Remon 
  To: 'Nikos Balkanas' 
  Cc: [email protected] 
  Sent: Tuesday, June 09, 2009 12:07 PM
  Subject: RE: 7bit encoded messages


  Sure

   

  This is the procedure described in the URL

   

  Coding 7-bit data (septets) into octets

  The message "hellohello" consists of 10 characters, called septets when 
represented by 7 bits each. These septets need to be transformed into octets 
for the SMS transfer. 

        h
       e
       l
       l
       o
       h
       e
       l
       l
       o
       
        104
       101
       108
       108
       111
       104
       101
       108
       108
       111
       
        1101000
       1100101
       1101100
       1101100
       1101111
       1101000
       1100101
       1101100
       1101100
       1101111
       
              1101000
              
       110010
             1
             
       11011
             00
             
       1101
             100
             
       110
             1111
             
       11
             01000
             
       1
             100101
             
        1101100
             
       1101100
              
       110111
             1
             
       
                
                


  The first septet (h) is turned into an octet by adding the rightmost bit of 
the second septet. This bit is inserted to the left which yields 1 + 1101000 = 
11101000 ("E8"). The rightmost bit of the second character is then consumed, so 
the second character (septet) needs two bits (yellow) of the third character to 
make an 8bit octet. This process goes on and on yielding the following octets: 

              1
             1101000
             
       00
             110010
             
       100
             11011
             
       1111
             1101
             
       01000
             110
             
       100101
             11
             
       1101100
             1
             
         
       1
             1101100
             
         

        110111
       
        E8
       32
       9B
       FD
       46
       97
       D9
         
       EC
       37
       


  The 9 octets from "hellohello" are E8 32 9B FD 46 97 D9 EC 37

   

   

  So I need to send the above Hex String “E8 32 9B FD 46 97 D9 EC 37”  via 
Kannel and receive it correctly.

   

  Regards,

  Remon

   

   

  From: Nikos Balkanas [mailto:[email protected]] 
  Sent: Tuesday, June 09, 2009 2:07 AM
  To: Remon
  Cc: [email protected]
  Subject: Re: 7bit encoded messages

   

  Hi,

   

  I am very sceptic when using unknown URLs. Could you please describe in mail?

   

  BR,

  Nikos

    ----- Original Message ----- 

    From: Remon 

    To: 'Nikos Balkanas' 

    Cc: [email protected] 

    Sent: Tuesday, June 09, 2009 1:49 AM

    Subject: RE: 7bit encoded messages

     

    The below URL is an example of 7bit encoded text, when I send it using 
coding=0 I receive trash on my phone. I think I’m missing something here.

     

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

     

     

    From: Nikos Balkanas [mailto:[email protected]] 
    Sent: Monday, June 08, 2009 3:30 AM
    To: Remon
    Cc: [email protected]
    Subject: Re: 7bit encoded messages

     

    Hi,

     

    Use &coding=0 in your URL.

     

    BR,

    Nikos

      ----- Original Message ----- 

      From: Remon 

      To: [email protected] 

      Sent: Monday, June 08, 2009 1:32 AM

      Subject: 7bit encoded messages

       

      Hi,

       

      How can I send 7bit encoded text messages using Kannel’s http send 
interface?

       

      Thanks,

       

       

Reply via email to